Merge pull request #8786 from zaclem01/fix/add-code-tags

fix/add-code-tags
This commit is contained in:
Eric Leung
2016-05-23 22:15:16 -07:00

View File

@ -11,7 +11,7 @@
"Both Chrome and Firefox have excellent JavaScript consoles, also known as DevTools, for debugging your JavaScript.", "Both Chrome and Firefox have excellent JavaScript consoles, also known as DevTools, for debugging your JavaScript.",
"You can find <code>Developer tools</code> in your Chrome's menu or <code>Web Console</code> in FireFox's menu. If you're using a different browser, or a mobile phone, we strongly recommend switching to desktop Firefox or Chrome.", "You can find <code>Developer tools</code> in your Chrome's menu or <code>Web Console</code> in FireFox's menu. If you're using a different browser, or a mobile phone, we strongly recommend switching to desktop Firefox or Chrome.",
"Let's print to this console using the <code>console.log</code> method.", "Let's print to this console using the <code>console.log</code> method.",
"<code>console.log('Hello world!')</code>" "<code>console.log('Hello world!');</code>"
], ],
"challengeSeed": [ "challengeSeed": [
"", "",
@ -22,7 +22,7 @@
"console.log('Hello world!');" "console.log('Hello world!');"
], ],
"tests": [ "tests": [
"assert(editor.getValue().match(/console\\.log\\(/gi), 'message: You should use the console.log method to log \"Hello world!\" to your JavaScript console.');" "assert(editor.getValue().match(/console\\.log\\(/gi), 'message: You should use the <code>console.log</code> method to log <code>\"Hello world!\"</code> to your JavaScript console.');"
], ],
"type": "waypoint", "type": "waypoint",
"challengeType": 1, "challengeType": 1,