Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function() { ...
- editor.bind = function(func, eventName) {
- if ((typeof func === "function") && (typeof eventName === "string")) {
- editor.canvas.addEventListener(func, eventName, true);
- }
- };
- ... })();
Add Comment
Please, Sign In to add comment