From ae50945e1a42a11f109faf459a1c89e54073b412 Mon Sep 17 00:00:00 2001 From: Michael Q Larson Date: Wed, 21 Jan 2015 16:03:14 -0800 Subject: [PATCH] update default copy in bonfire playground --- public/js/lib/bonfire/framework.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/public/js/lib/bonfire/framework.js b/public/js/lib/bonfire/framework.js index 726894d387..d85a43aae1 100644 --- a/public/js/lib/bonfire/framework.js +++ b/public/js/lib/bonfire/framework.js @@ -21,9 +21,10 @@ var myCodeMirror = CodeMirror.fromTextArea(document.getElementById("codeEditor") }); var editor = myCodeMirror; myCodeMirror.setValue('/*Welcome to Bonfire, Free Code Camp\'s future CoderByte replacement.\n' + -'Please feel free to use Bonfire as an in-browser playground and linting tool.*/\n\n\n' + +'Please feel free to use Bonfire as an in-browser playground and linting tool.\n' + +'Note that you can also write tests using Chai.js by using the keywords assert and expect */\n\n' + 'function test() {\n' + -' assert(2 === 3, "hello");\n' + +' assert(2 !== 3, "2 is not equal to 3");\n' + ' return [1,2,3].map(function(elem) {\n' + ' return elem * elem;\n' + ' });\n' + @@ -41,8 +42,8 @@ var codeOutput = CodeMirror.fromTextArea(document.getElementById("codeOutput"), lineWrapping: true }); codeOutput.setValue('/**\n' + - ' * Your output will go here. Console statements\n' + - ' * will appear in your developer console!\n' + + ' * Your output will go here. Console.log() -type statements\n' + + ' * will appear in your browser\'s javascript console.\n' + ' */'); codeOutput.setSize("100%", "100%"); var info = editor.getScrollInfo();