Skip to content

Commit

Permalink
Build for: update type when updating value #14
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsen1 committed Dec 16, 2014
1 parent 63c1d44 commit eceafd4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/json-formatter.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* jsonformatter
*
* Version: 0.2.4 - 2014-11-09T23:45:47.698Z
* Version: 0.2.5 - 2014-12-16T18:51:42.214Z
* License: MIT
*/

Expand Down
3 changes: 2 additions & 1 deletion dist/json-formatter.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* jsonformatter
*
* Version: 0.2.4 - 2014-11-09T23:45:47.694Z
* Version: 0.2.5 - 2014-12-16T18:51:45.410Z
* License: MIT
*/

Expand Down Expand Up @@ -99,6 +99,7 @@ angular.module('jsonFormatter', ['RecursionHelper'])
};

scope.parseValue = function (value){
scope.type = typeof scope.json;
if (scope.type === 'null') {
return 'null';
}
Expand Down
2 changes: 1 addition & 1 deletion dist/json-formatter.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/json-formatter.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit eceafd4

Please sign in to comment.