Skip to content

Commit

Permalink
check min_low aswell + v0.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
tflanagan committed May 29, 2015
1 parent 91367a7 commit 112609a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ var utilities = (function(){
}

// Ensure that the int version is safe to use
if(typeof(xml[node]) === 'string' && xml[node] < 9007199254740991){
if(typeof(xml[node]) === 'string' && Math.abs(xml[node]) < 9007199254740991){
pFloat = parseFloat(xml[node]);

if(pFloat !== NaN && pFloat == xml[node]){
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"engines": {
"node": ">=0.10.*"
},
"version": "0.2.5",
"version": "0.2.6",
"description": "A lightweight, very flexible QuickBase API",
"main": "main.js",
"scripts": {
Expand Down

0 comments on commit 112609a

Please sign in to comment.