diff options
author | Git <git@what.cd> | 2012-07-11 08:00:16 +0000 |
---|---|---|
committer | Git <git@what.cd> | 2012-07-11 08:00:16 +0000 |
commit | e825c7af3c14bf2ccdf5d7389d13eded79766a68 (patch) | |
tree | 1782609804f8760ce3e8be5702ccb499ea60fc35 /static/functions/script_start.js | |
parent | b606162ef6f933a77eb03e0a24e3f838749762e3 (diff) | |
download | Gazelle-e825c7af3c14bf2ccdf5d7389d13eded79766a68.zip Gazelle-e825c7af3c14bf2ccdf5d7389d13eded79766a68.tar.gz Gazelle-e825c7af3c14bf2ccdf5d7389d13eded79766a68.tar.bz2 |
Empty commit
Diffstat (limited to 'static/functions/script_start.js')
-rw-r--r-- | static/functions/script_start.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/static/functions/script_start.js b/static/functions/script_start.js index 689ea5b..95d3937 100644 --- a/static/functions/script_start.js +++ b/static/functions/script_start.js @@ -1,9 +1,11 @@ "use strict"; /* Prototypes */ -String.prototype.trim = function () { - return this.replace(/^\s+|\s+$/g, ''); -}; +if(!String.prototype.trim) { + String.prototype.trim = function () { + return this.replace(/^\s+|\s+$/g,''); + }; +} var listener = { set: function (el,type,callback) { |