Testing jQuery plugins with Jasmine

JasmineSince I started working at Globo.com, I developed some jQuery plugins (for internal use) with my team, and we are starting to test these plugins using Jasmine, “a behavior-driven development framework for testing your JavaScript code”. In this post, I’ll show how to develop a very simple jQuery plugin (based on an example that I learned with Ricard D. Worth): zebrafy. This plugin “zebrafies” a table, applying different classes to odd and even lines. Let’s start setting up a Jasmine environment… Continue reading

Raty: a lightweight jQuery star rate plugin

jQuery Raty

In the middle of this week, my friend and roommate Washington Botelho published a simple and useful jQuery plugin: Raty, wich is a plugin for rating with star. It is simple, powerful and lightweight.

You can see how the plugin works at its official page.

Proudly powered by WordPress
Theme: Esquire by Matthew Buchanan.