更新前端文件
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* EventManager
|
||||
* provides internal event support
|
||||
*/
|
||||
var EventManager = function(core){
|
||||
this.core = core;
|
||||
};
|
||||
EventManager.prototype = {
|
||||
on: function(n,cb){ $(this).on(n,cb); },
|
||||
off: function(n){ $(this).off(n); },
|
||||
trigger: function(n){ $(this).trigger(n); }
|
||||
};
|
||||
Jcrop.registerComponent('EventManager',EventManager);
|
||||
|
||||
Reference in New Issue
Block a user