JavaScript source maps

Posted by & filed under Uncategorized.

Have you ever found yourself wishing you could keep your client-side code readable and more importantly debuggable even after you’ve combined and minified it, without impacting performance? Well now you can through the magic of source maps.

Basically it’s a way to map a combined/minified file back to an unbuilt state. When you build for production, along with minifying and combining your JavaScript files, you generate a source map which holds information about your original files. When you query a certain line and column number in your generated JavaScript you can do a lookup in the source map which returns the original location. Developer tools (currently WebKit nightly builds, or Google Chrome Canary) can parse the source map automatically and make it appear as though you’re running unminified and uncombined files. As of writing Firefox has a blocked status for Source Map support. See MozillaWiki Source Map entry for more details.

www.html5rocks.com/en/tutorials/develope…

Source Map Proposal: docs.google.com/document/d/1U1RGAehQwRyp…

Hawt JS List Action

Posted by & filed under Javascript, Programming.

Do you want a 9 KB cross-browser native JavaScript that makes your plain HTML lists super flexible, searchable, sortable and filterable? Yeah!
Do you also want the possibility to add, edit and remove items by dead simple templating?

listjs.com/