Comparing version 0.0.3 to 0.0.4
@@ -8,4 +8,4 @@ (function (exportName) { | ||
* zswang (http://weibo.com/zswang) | ||
* @version 0.0.3 | ||
* @date 2015-10-28 | ||
* @version 0.0.4 | ||
* @date 2015-11-03 | ||
*/ | ||
@@ -16,2 +16,3 @@ /** | ||
var scaleChars = '0123456789abcdefghijklmnopqrstuvwxyz'; | ||
var exports = {}; | ||
/** | ||
@@ -86,3 +87,3 @@ * 向前补零 '1',5 -> '00001' | ||
result.unshift(scaleChars.charAt(t % scale)); | ||
t = t / scale; | ||
t = parseInt(t / scale); | ||
} | ||
@@ -89,0 +90,0 @@ if (t) { |
@@ -5,3 +5,3 @@ { | ||
"description": "Big Integer", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"homepage": "http://github.com/zswang/jints", | ||
@@ -36,3 +36,3 @@ "main": "jints.js", | ||
"test": "istanbul cover --hook-run-in-context node_modules/mocha/bin/_mocha -- -R spec", | ||
"dist": "jdists src/jints.js -o jints.js && uglifyjs jints.js -o jints.min.js -p 5 -c -m", | ||
"dist": "jdists src/jints.js -o jints.js && uglifyjs jints.js -o jints.min.js -p 5 -c -m && npm run test", | ||
"lint": "jshint src/*.js *.json" | ||
@@ -39,0 +39,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10852
345