Tag: js

  • How to unit test your JS and use it in the browserProgramming

    Intro Recently, I wanted to add test coverage to Halloween Bash and keep using it in the browser.

  • Maintainable Client JavaScriptProgramming

    I've been reading Maintainable JavaScript by Nicholas C. Zakas lately. It has been very insightful into best practices across larger teams.

  • Leaflet JS with Open MapQuest TilesProgramming

    With CloudMade changing their API to focus on enterprise customers, I had to find an alternative for hosted map tiles.

  • How jQuery text method works in JavaScriptProgramming

    jQuery has a popular method for accessing the text contents of a targeted DOM node named [cci].text()[/cci].

  • jQuery DOM ready handlersProgramming

    As you work with JavaScript & jQuery, you will quickly get accustomed to wrapping your JS scripts with a DOM ready check.

  • How jQuery CSS selector worksProgramming

    Diving into jQuery source code, you'll find attribution for [cci]Sizzle.js[/cci] near the top. What is Sizzle? Sizzle is jQuery's spinoff CSS selector engine.