aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/utils.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/utils.coffee b/lib/utils.coffee
index 1c24a40f..033fdd2b 100644
--- a/lib/utils.coffee
+++ b/lib/utils.coffee
@@ -201,6 +201,7 @@ Function::curry = ->
Array.copy = (array) -> Array.prototype.slice.call(array, 0)
String::startsWith = (str) -> @indexOf(str) == 0
+String::ltrim = () -> @replace /^\s+/, ""
globalRoot = window ? global
globalRoot.extend = (hash1, hash2) ->