Skip to content

Commit

Permalink
Merge pull request #14 from markmarijnissen/patch-1
Browse files Browse the repository at this point in the history
Bugfix - update type when updating value.
  • Loading branch information
mohsen1 committed Dec 16, 2014
2 parents 6128cd3 + 7be6e00 commit 63c1d44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/json-formatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ angular.module('jsonFormatter', ['RecursionHelper'])
};

scope.parseValue = function (value){
scope.type = typeof scope.json;
if (scope.type === 'null') {
return 'null';
}
Expand Down

0 comments on commit 63c1d44

Please sign in to comment.