editor_file
This commit is contained in:
1 parent
cb10654e58
commit
4e102eba6c
7 files changed
+37
-27
No files matched your search
@@ -157,6 +157,17 @@ editor_util_wrapper = function (editor) {
|
||||
}).join(''))
|
||||
}
|
||||
|
||||
editor_util.prototype.isset = function (val) {
|
||||
return val != null && !(typeof val == 'number' && isNaN(val));
|
||||
}
|
||||
|
||||
editor_util.prototype.checkCallback=function(callback){
|
||||
if (!editor.util.isset(callback)) {
|
||||
editor.printe('未设置callback');
|
||||
throw('未设置callback')
|
||||
}
|
||||
}
|
||||
|
||||
editor.constructor.prototype.util = new editor_util();
|
||||
}
|
||||
//editor_util_wrapper(editor);
|
||||
Reference in new issue
Block a user