use ES5 bind() instead of lang.bind()
This commit is contained in:
parent
a0d4f85b9e
commit
69095379c3
5 changed files with 43 additions and 35 deletions
|
|
@ -82,12 +82,6 @@ exports.escapeRegExp = function(str) {
|
|||
return str.replace(/([.*+?^${}()|[\]\/\\])/g, '\\$1');
|
||||
};
|
||||
|
||||
exports.bind = function(fcn, context) {
|
||||
return function() {
|
||||
return fcn.apply(context, arguments);
|
||||
};
|
||||
};
|
||||
|
||||
exports.deferredCall = function(fcn) {
|
||||
|
||||
var timer = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue