second commit, forgot to add file that needed changing
parent
73ae1b1fe3
commit
054fe91b08
|
@ -142,7 +142,8 @@
|
|||
],
|
||||
"tests": [
|
||||
"assert($(\"button\").hasClass(\"animated\") && $(\"button\").hasClass(\"bounce\"), 'message: Use the jQuery <code>addClass()</code> function to give the classes <code>animated</code> and <code>bounce</code> to your <code>button</code> elements.');",
|
||||
"assert(!code.match(/class.*animated/g), 'message: Only use jQuery to add these classes to the element.');"
|
||||
"assert(!code.match(/class.*animated/g), 'message: Only use jQuery to add these classes to the element.');",
|
||||
"assert(/'/g.test(code) === false , 'message: Only use double quotes in your jQuery code, as is stated in the jQuery style guide.');"
|
||||
],
|
||||
"type": "waypoint",
|
||||
"challengeType": 0,
|
||||
|
|
Loading…
Reference in New Issue