Index: src/string.js |
diff --git a/src/string.js b/src/string.js |
index d82ce05237ef2def6e2050d9520098db50edeb54..a82a3545962e75c7bd0c7dd32574f7e2eba9b676 100644 |
--- a/src/string.js |
+++ b/src/string.js |
@@ -552,7 +552,7 @@ function StringSplit(separator, limit) { |
var separator_length = separator.length; |
// If the separator string is empty then return the elements in the subject. |
- if (separator_length === 0) return %StringToArray(subject); |
+ if (separator_length === 0) return %StringToArray(subject, limit); |
Mads Ager (chromium)
2010/11/10 09:45:32
Accidental indentation change?
|
var result = %StringSplit(subject, separator, limit); |