Tool plugin architecture with eraser/pen/paintbucket tools.

This commit is contained in:
Vince
2012-08-31 10:45:07 +02:00
parent 70ad2760df
commit ca04f8db4d
20 changed files with 614 additions and 85 deletions

View File

@@ -7,6 +7,7 @@
var o = $({});
$.subscribe = function() {
console.log("SUBSCRIBE: " + arguments[0]);
o.on.apply(o, arguments);
};
@@ -15,7 +16,10 @@
};
$.publish = function() {
console.log("PUBLISH: " + arguments[0]);
o.trigger.apply(o, arguments);
};
}(jQuery));
}(jQuery));