mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-23 07:14:43 +00:00
13 lines
No EOL
301 B
JavaScript
13 lines
No EOL
301 B
JavaScript
(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;
|
|
};
|
|
|
|
})(); |