Permalink
Browse files

remove trailing commas

  • Loading branch information...
1 parent aa5b105 commit 1a36bc3b5fccfdb8f196403d8123e7ce7a32e367 @al2o3cr committed May 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app.js
View
2 app.js
@@ -83,7 +83,7 @@ window.drawGraph = function(r, x, y) {
addRow(pt[0], pt[1]);
redraw();
});
- $('#results').val(dataTemplate({data: expanded_coefs}));
+ $('#results').val(dataTemplate({data: expanded_coefs}).replace(/,\s*]/g,']'));
};
window.getX = function() {

0 comments on commit 1a36bc3

Please sign in to comment.