Revert "Added busy handlers for layer, implemented ready instruction handling in client"

This reverts commit 7c3ceb1245a5e2a838811c10599b47b1578a5cf9.
This commit is contained in:
Michael Jumper committed 2011-03-06 17:02:18 -08:00
1 parent de352e7dff
commit 4f656c2e94
2 files changed
+3 -54

No files matched your search

@@ -68,9 +68,7 @@ function Layer(width, height) {
resize(width, height);
var busyHandler = null;
var readyHandler = null;
var updates = new Array();
var autosize = 0;
@@ -133,10 +131,6 @@ function Layer(width, height) {
readyHandler = handler;
};
display.setBusyHandler = function(handler) {
busyHandler = handler;
};
display.drawImage = function(x, y, image) {
reserveJob(function() {
@@ -147,11 +141,6 @@ function Layer(width, height) {
display.draw = function(x, y, url) {
// If about to become busy, call busy handler
if (display.isReady() && busyHandler != null)
busyHandler();
var update = reserveJob(null);
var image = new Image();