[jquery.byteLimit] Set vars in return this.each loop
authorKrinkle <krinkle@users.mediawiki.org>
Sun, 18 Mar 2012 22:13:55 +0000 (22:13 +0000)
committerKrinkle <krinkle@users.mediawiki.org>
Sun, 18 Mar 2012 22:13:55 +0000 (22:13 +0000)
commitc2f213a4045153cc703d3b6dd3dfdca2f64c4a9c
treea8d41cc7275a173f362797d0a500efdd48031c3e
parent3224d041f4ca66d4dca963df0b4896b220f4e622
[jquery.byteLimit] Set vars in return this.each loop
* Set vars in return this.each loop. This is the defacto standard plugin structure
  but somehow it slipped through this one (it's a 2 line wrapper, easy to miss).
* Added unit test (which failed before this commit)
* Fixes:
-- (bug 35294) jquery.byteLimit shouldn't set element specific variables outside the "return this.each" loop.
RELEASE-NOTES-1.19
resources/jquery/jquery.byteLimit.js
tests/qunit/suites/resources/jquery/jquery.byteLimit.test.js