We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68cfee5 commit 305f32dCopy full SHA for 305f32d
src/Utils.coffee
@@ -37,7 +37,6 @@ class Utils
37
# @return [String] A trimmed string
38
#
39
@trim: (str, _char = '\\s') ->
40
- return str.trim()
41
regexLeft = @REGEX_LEFT_TRIM_BY_CHAR[_char]
42
unless regexLeft?
43
@REGEX_LEFT_TRIM_BY_CHAR[_char] = regexLeft = new RegExp '^'+_char+''+_char+'*'
0 commit comments