Merge pull request #9165 from FreeCodeCamp/revert-9086-Fix/Prefilter-JSON

Revert "Fix/Prefilter JSON"
This commit is contained in:
Berkeley Martinez
2016-06-15 18:53:12 -07:00
committed by GitHub

View File

@ -419,8 +419,7 @@
"</div>" "</div>"
], ],
"tests": [ "tests": [
"assert(code.match(/json.filter\\(\\s*?function\\(/), 'message: You should be making use of the <code>.filter</code> method. ');", "assert(code.match(/filter/gi), 'message: You should be making use of the .filter method.');"
"assert(code.match(/return\\s*?\\(\\s*?\\w+\\.id\\s*?!==\\s*?1\\s*?\\);/), 'message: Your function should only return images with a value <code>not equal to 1</code>. ');"
], ],
"type": "waypoint", "type": "waypoint",
"challengeType": 0, "challengeType": 0,