Skip to content

Commit eceafd4

Browse files
committed
Build for: update type when updating value #14
1 parent 63c1d44 commit eceafd4

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

dist/json-formatter.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* jsonformatter
33
*
4-
* Version: 0.2.4 - 2014-11-09T23:45:47.698Z
4+
* Version: 0.2.5 - 2014-12-16T18:51:42.214Z
55
* License: MIT
66
*/
77

dist/json-formatter.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* jsonformatter
33
*
4-
* Version: 0.2.4 - 2014-11-09T23:45:47.694Z
4+
* Version: 0.2.5 - 2014-12-16T18:51:45.410Z
55
* License: MIT
66
*/
77

@@ -99,6 +99,7 @@ angular.module('jsonFormatter', ['RecursionHelper'])
9999
};
100100

101101
scope.parseValue = function (value){
102+
scope.type = typeof scope.json;
102103
if (scope.type === 'null') {
103104
return 'null';
104105
}

dist/json-formatter.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/json-formatter.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)