Skip to content

Commit

Permalink
Merge pull request #103 from birthdayalarm/fix_words
Browse files Browse the repository at this point in the history
_s.words references _.trim instead of _s.trim
  • Loading branch information
Pavel Pravosud committed Apr 2, 2012
2 parents eb3c331 + bce1bca commit 65a6532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/underscore.string.js
Expand Up @@ -348,7 +348,7 @@
},

words: function(str, delimiter) {
return _.trim(str, delimiter).split(delimiter || /\s+/);
return _s.trim(str, delimiter).split(delimiter || /\s+/);
},

pad: function(str, length, padStr, type) {
Expand Down

0 comments on commit 65a6532

Please sign in to comment.