expose additional js modules (#3795)

This commit is contained in:
Albert Yi
2018-08-06 10:13:01 -07:00
parent 1a79443fe8
commit 3672eedd36
3 changed files with 6 additions and 34 deletions

View File

@@ -123,18 +123,6 @@ Utility.sorttable = function(table) {
});
};
Utility.is_global_hook_defined = function(path) {
let objs = path.split(/\./g);
let obj = window;
objs.forEach(x => {
if (obj) {
obj = obj[x]
}
});
return typeof obj === 'function';
}
$.fn.selectRange = function(start, end) {
return this.each(function() {
if (this.setSelectionRange) {