jquery.spinner: Fix small issues
authorKrinkle <krinkle@users.mediawiki.org>
Wed, 24 Aug 2011 21:37:59 +0000 (21:37 +0000)
committerKrinkle <krinkle@users.mediawiki.org>
Wed, 24 Aug 2011 21:37:59 +0000 (21:37 +0000)
commit1473e9838247c982afbeeb98e0cf5e26243db260
treead47a309a28021c011f1d84df0fbf330ff5ec10f
parentaf34afa87beb6161a9ae41c4eb39fbd1519861a4
jquery.spinner: Fix small issues
(Follows-up r95445)
* Using the same spinner as before, preserving svn history (20px vs. 16px)
* Adding a line-break at the end of file and changing indentation per our conventions
* Adjusting doc to reflect the plugin itself instead of what it replaces.
* Using shorthand utility in jQuery (no / and using the attr-object as second argument)
* Adding @return comment to $.fn.injectSpinner
* Adding return statement to $.removerSpinner (returning a jQuery object of the element). Could be useful, but better than not having a return value at all.

JSHint:
* Adding parentheses around the class object property, otherwise it may be interpreted as a class operator which breaks the object.
resources/jquery/images/spinner.gif
resources/jquery/jquery.spinner.css
resources/jquery/jquery.spinner.js