|
|
|
@ -23,3 +23,10 @@ if (!Function.prototype.bind) { |
|
|
|
return fBound; |
|
|
|
}; |
|
|
|
} |
|
|
|
|
|
|
|
//https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String/Trim
|
|
|
|
if(!String.prototype.trim) { |
|
|
|
String.prototype.trim = function () { |
|
|
|
return this.replace(/^\s+|\s+$/g,''); |
|
|
|
}; |
|
|
|
} |