pvdz / zeon Goto Github PK
View Code? Open in Web Editor NEWA static visual JavaScript analyzer / editor
License: MIT License
A static visual JavaScript analyzer / editor
License: MIT License
Paste this
http://code.google.com/p/coderjournal/source/browse/trunk/Posts/2010/01/jquery-1.4.js?edit=1
Minifry zeon.
var zeon = new Zeon('a = b <= c ? d : (b >= c + e ? e : b - c)', Zeon.getNewConfig());
zeon.parse();
zeon.startProcess();
zeon.disambiguate();
zeon.btree.map(function(t) {
return t.value;
}).join(''); // 'a=((b<=c)?d:((b>=(c+e))?e:b-c))'
But…
var zeon = new Zeon('a = b <= c ? d : b >= c + e ? e : b - c', Zeon.getNewConfig());
zeon.parse();
zeon.startProcess();
zeon.disambiguate();
zeon.btree.map(function(t) {
return t.value;
}).join(''); // 'a=((b<=c)?d:(b>=(c+e))?e:b-c)'
Shouldn’t both return the same string?
/\\ufoo/
should not give invalid unicode escape
error.
Often seems to happen with closing curly brace. Highly annoying. Should really get this fixed :)
When using minify button on switch(2){case 1:break}
the first time it will add a return after the break
where it shouldn't. The second time it will add another return after the break. (Result is stable after that)
for (var i = 0, code; code = codes[i]; ++i) {
should not show this warning
var x; var y
-> var x,y
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.