Allow bracket notation and search for dot notation

pull/18182/head
Manish Giri 2017-01-03 00:30:06 -05:00
parent c0410ab071
commit e63d9fde96
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@
"</div>"
],
"tests": [
"assert(code.match(/val.imageLink/gi), 'message: You should have used the <code>imageLink</code> property to display the images.');"
"assert(code.match(/val\\.imageLink/gi) || code.match(/val\\[\"imageLink\"\\]/gi), 'message: You should have used the <code>imageLink</code> property to display the images.');"
],
"type": "waypoint",
"challengeType": 0,