Merge branch 'master' into feat-eslint

This commit is contained in:
Albert Yi
2018-08-06 10:27:32 -07:00
committed by GitHub
4 changed files with 7 additions and 33 deletions

View File

@@ -122,18 +122,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) {