mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Tool plugin architecture with eraser/pen/paintbucket tools.
This commit is contained in:
BIN
js/lib/.DS_Store
vendored
Normal file
BIN
js/lib/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
js/lib/jsColor_1_4_0/.DS_Store
vendored
Normal file
BIN
js/lib/jsColor_1_4_0/.DS_Store
vendored
Normal file
Binary file not shown.
@ -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));
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user