[Pkg-javascript-commits] [uglifyjs] 65/77: tools/props.html: output complete JSON
Jonas Smedegaard
dr at jones.dk
Tue May 19 00:02:33 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag v2.4.18
in repository uglifyjs.
commit bb010c225388604b423ad70a9d8203dc2cd3cc56
Author: Mihai Bazon <mihai.bazon at gmail.com>
Date: Thu Mar 19 10:10:01 2015 +0200
tools/props.html: output complete JSON
---
tools/props.html | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/tools/props.html b/tools/props.html
index ff09a8d..576e143 100644
--- a/tools/props.html
+++ b/tools/props.html
@@ -42,9 +42,13 @@
ta.style.width = "100%";
ta.style.height = "20em";
ta.style.boxSizing = "border-box";
- ta.value = Object.keys(props).sort(cmp).map(function(name){
- return JSON.stringify(name);
- }).join(",\n");
+ <!-- ta.value = Object.keys(props).sort(cmp).map(function(name){ -->
+ <!-- return JSON.stringify(name); -->
+ <!-- }).join(",\n"); -->
+ ta.value = JSON.stringify({
+ vars: [],
+ props: Object.keys(props).sort(cmp)
+ }, null, 2);
document.body.appendChild(ta);
function cmp(a, b) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git
More information about the Pkg-javascript-commits
mailing list