fabric.js/lib/ape-extensions.js
2010-06-11 19:37:06 -04:00

15 lines
No EOL
327 B
JavaScript

//= require "ape-ep-dom"
(function(){
var doc = this.document;
APE.EventPublisher.remove = function(src, sEvent, fp, thisArg) {
return APE.EventPublisher.get(src, sEvent).remove(fp, thisArg);
};
APE.getElement = function(id) {
return typeof id === 'string' ? doc.getElementById(id) : id;
};
})();