Merge pull request #12334 from Manish-Giri/fix/add-bracket-notation

Allow bracket notation and search for dot notation
This commit is contained in:
Dylan
2017-01-03 11:02:26 -06:00
committed by GitHub

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,