Merge pull request #13837 from austinthiel/fix/target-even-numbered-elements-typo

Fix poor wording for first test check of "Target Even Numbered Elements using jQuery"
pull/13847/head
Eric Leung 2017-03-10 15:03:20 -08:00 committed by GitHub
commit bfc1fc4f56
1 changed files with 1 additions and 1 deletions

View File

@ -1413,7 +1413,7 @@
"</div>"
],
"tests": [
"assert($('.target:even').hasClass('animated') && $('.target:even').hasClass('shake'), 'message: All the <code>target</code> elements that computer considers even should shake.');",
"assert($('.target:even').hasClass('animated') && $('.target:even').hasClass('shake'), 'message: All of the <code>target</code> elements that jQuery considers to be even should shake.');",
"assert(code.match(/\\:even/g), 'message: You should use the <code>&#58;even</code> function to modify these elements.');",
"assert(code.match(/<button class=\"btn btn-default target\" id=\"target3\">/g), 'message: Only use jQuery to add these classes to the element.');"
],