Skip to content

Commit

Permalink
listing number formatting turned off as DeepSee does
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitaeverywhere committed Sep 28, 2015
1 parent 3d55595 commit df4b661
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "LightPivotTable",
"author": "ZitRo",
"version": "1.2.13",
"version": "1.3.0",
"description": "A lightweight pivot table for MDX2JSON source for InterSystems Cache",
"main": "test/testServer.js",
"repository": {
Expand Down
4 changes: 3 additions & 1 deletion source/js/PivotView.js
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ PivotView.prototype.renderRawData = function (data) {
+ "' target='_blank' onclick='var e=event||window.event;e.stopPropagation();e.cancelBubble=true;'>"
+ p + "</a>";
});
} else { // number
} else if (!LISTING) { // number
if (format) { // set format
element.textContent = value ? _.numeral(value).format(format) : "";
} else if (value) {
Expand All @@ -914,6 +914,8 @@ PivotView.prototype.renderRawData = function (data) {
} else {
element.textContent = value || "";
}
} else {
element.textContent = value;
}
};

Expand Down

0 comments on commit df4b661

Please sign in to comment.