dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use native ES5 Array prototype methods instead of jQuery
[lhc/web/wiklou.git]
/
tests
/
qunit
/
suites
/
resources
/
jquery
/
jquery.highlightText.test.js
diff --git
a/tests/qunit/suites/resources/jquery/jquery.highlightText.test.js
b/tests/qunit/suites/resources/jquery/jquery.highlightText.test.js
index
0dac22e
..
277ba3f
100644
(file)
--- a/
tests/qunit/suites/resources/jquery/jquery.highlightText.test.js
+++ b/
tests/qunit/suites/resources/jquery/jquery.highlightText.test.js
@@
-222,7
+222,7
@@
}
];
-
$.each( cases, function ( i,
item ) {
+
cases.forEach( function (
item ) {
$fixture = $( '<p>' ).text( item.text ).highlightText( item.highlight );
assert.equal(
$fixture.html(),