3 ms·
Too bad the source is obfuscated. This is the kind of thing that could draw a young person into digging deeper into programming.
by bprater 15y ago
Too bad the source is obfuscated. This is the kind of thing that could draw a young person into digging deeper into programming.
- kevingadd 15y agoIt's always disappointing when people's cool demos have obfuscated/minified JS source. It destroys the readability and hackability of the code, and it means that if you find bugs (like I did in this demo) you can't trivially fix them either.
- arkitaip 15y agoYou can always use Javascript Deminifier For Firefox https://addons.mozilla.org/en-US/firefox/addon/javascript-deminifier/ https://addons.mozilla.org/en-US/firefox/addon/javascript-de... For Chrome, there's the built-in de-obfuscator http://www.sitepoint.com/whats-new-in-google-chrome-12/ http://www.sitepoint.com/whats-new-in-google-chrome-12/
- CrystalKoo 15y agoYou can copy and paste the .min.js file into http://jsbeautifier.org/ http://jsbeautifier.org/. That would beautify everything so it's readable. :) Crystal
- stevenleeg 15y agohttps://github.com/robertkleffner/mariohtml5/ https://github.com/robertkleffner/mariohtml5/ Nope, it's actually open source.
- Groxx 15y agoThe source is obfuscated? It's just one-lined. Copy-paste here: http://jsbeautifier.org/ http://jsbeautifier.org/ I don't know why they even bothered un-white-spacing it. Doing so doesn't save much space, nor provide any kind of real obfuscation. At best it just makes it un-debuggable (hmm. seems like an oversight (that most debuggers also miss) that you can't set breakpoints inside a single line of code...)