Permalink
Browse files

ENYO-1366: use spacing in JSON.stringify to allow line wrapping

Enyo-DCO-1.1-Signed-Off-By: Ben Combee (ben.combee@palm.com)
  • Loading branch information...
1 parent 0aebe94 commit 341a68e1c9c6f131cec0a5a9472b75b4a2f8e1d4 Ben Combee committed Dec 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 samples/PlatformSample.js
@@ -26,7 +26,7 @@ enyo.kind({
create: function() {
this.inherited(arguments);
this.$.uaString.setContent(navigator.userAgent);
- this.$.enyoPlatformJSON.setContent(JSON.stringify(enyo.platform));
+ this.$.enyoPlatformJSON.setContent(JSON.stringify(enyo.platform, null, 1));
this.updateWindowSize();
},
resizeHandler: function() {

0 comments on commit 341a68e

Please sign in to comment.