Google open-sources JavaScript tools
Google announced overnight the release and open-sourcing of a trio of tools designed to help JavaScript developers.
Dubbed Closure Tools, the search giant is continuing its push of JavaScript with a tool set including a JavaScript optimiser called Closure Compiler, a JavaScript library called Closure Library, and a templating system for JavaScript and Java entitled Closure Templates.
"The compiler removes dead code, then rewrites and minimises what's left so that it will run fast on browsers' JavaScript engines. The compiler also checks syntax, variable references, and types, and warns about other common JavaScript pitfalls," said the Closure Tools team in a blog post. "These checks and optimisations help you write apps that are less buggy and easier to maintain."