Bump to v3.7.0.

This commit is contained in:
jdalton
2015-04-15 21:06:16 -07:00
parent d58549ce0b
commit 863bb301bb
120 changed files with 1653 additions and 812 deletions

View File

@@ -2,7 +2,7 @@ var isIterateeCall = require('../internal/isIterateeCall'),
trim = require('./trim');
/** Used to detect hexadecimal string values. */
var reHexPrefix = /^0[xX]/;
var reHasHexPrefix = /^0[xX]/;
/** Used to detect and test for whitespace. */
var whitespace = (
@@ -60,7 +60,7 @@ if (nativeParseInt(whitespace + '08') != 8) {
radix = +radix;
}
string = trim(string);
return nativeParseInt(string, radix || (reHexPrefix.test(string) ? 16 : 10));
return nativeParseInt(string, radix || (reHasHexPrefix.test(string) ? 16 : 10));
};
}