jquery/jquery — pull request #919 by dgalvez (2012-09-02 20:34:37+00:00)
Title: using document.styleSheets.length in jQuery.each core tests instead of hardcoded styleSheets number

removed hardcoded styleSheets number from core tests, using document.styleSheets.length instead:

- If in the future more stylesheets get added to the document, the hardcoded number won't need to be updated.
- Some browser plugins add stylesheets, making the tests to not pass.