bfintal/jQuery.IE9Gradius.js — pull request #4 by seyDoggy (2012-05-08 03:34:23+00:00)
Title: Turned IE9Gradius into a query plugin

Since it's rather inefficient to iterate through the DOM looking at all of the selectors specified by the script, I decided to turn this script into a jQuery plugin.

The point of making this a plugin is two fold:

1. it saves precious cycles by specifically targeting only those selectors that the user has deemed necessary (i.e. selectors the users has styled with CSS3 radius and gradients)
2. being a plugin it doesn't matter where the script is called or when it's invoked, it will work regardless (provided the jQuery function is defined).