Update test message in Target the Children of an Element Using jQuery (#13374)
This commit is contained in:
committed by
mrugesh mohapatra
parent
8dae1ee35d
commit
f5129f0ba6
@ -144,7 +144,7 @@
|
||||
],
|
||||
"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 colors 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",
|
||||
@ -1523,4 +1523,4 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user