Skip to content

Commit

Permalink
Empty cache doesn't count
Browse files Browse the repository at this point in the history
  • Loading branch information
robertleeplummerjr committed Dec 17, 2014
1 parent 18bfd39 commit 8aa163c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Sheet/JSONLoader.js
Expand Up @@ -195,7 +195,7 @@

hasId = (id !== undefined && id !== null);
hasValue = (value !== undefined && value !== null);
hasCache = (cache !== undefined && cache !== null);
hasCache = (cache !== undefined && cache !== null && cache !== '');
hasFormula = (formula !== undefined && formula !== null);
hasCellType = (cellType !== undefined && cellType !== null);
hasUneditable = (uneditable !== undefined && uneditable !== null);
Expand Down
2 changes: 1 addition & 1 deletion jquery.sheet.js
Expand Up @@ -2289,7 +2289,7 @@ Sheet.StyleUpdater = (function(document) {

hasId = (id !== undefined && id !== null);
hasValue = (value !== undefined && value !== null);
hasCache = (cache !== undefined && cache !== null);
hasCache = (cache !== undefined && cache !== null && cache !== '');
hasFormula = (formula !== undefined && formula !== null);
hasCellType = (cellType !== undefined && cellType !== null);
hasUneditable = (uneditable !== undefined && uneditable !== null);
Expand Down
2 changes: 1 addition & 1 deletion jquery.sheet.min.js

Large diffs are not rendered by default.

0 comments on commit 8aa163c

Please sign in to comment.