Closed ewhauser closed 13 years ago
Make sure you are not using any spacing...
h1 'hello'
h2 'world'
You can also try
h2 -> 'World'
Lastly, go to http://coffeekup.org/ and paste your view in the left side and it should translate to the right. If you are still have problems, please let me know.
Grrr... ^M was getting inserted as my carriage returns when editing your files (OSX, autocrlf set to input). Sorry for bugging you.
No Worries, let me know if you have any more issues...Thx
I'm sure this is an issue with my lack of understanding but I thought you might be able to clarify. When I add a second line to index.coffee like:
h2 'test'
I always get the error below. No matter what I seem to add, if there is a second line in that file, it blows up.
Error: Parse error on line 1: Unexpected 'IDENTIFIER' at Object.parseError (/Users/ehauser/working/express-coffee/node_modules/coffeekup/node_modules/coffee-script/lib/parser.js:472:11) at Object.parse (/Users/ehauser/working/express-coffee/node_modules/coffeekup/node_modules/coffee-script/lib/parser.js:548:22) at Object.compile (/Users/ehauser/working/express-coffee/node_modules/coffeekup/node_modules/coffee-script/lib/coffee-script.js:29:22) at Object.compile (/Users/ehauser/working/express-coffee/node_modules/coffeekup/lib/coffeekup.js:186:25) at Function.compile (/Users/ehauser/working/express-coffee/node_modules/express/lib/view.js:64:33) at ServerResponse._render (/Users/ehauser/working/express-coffee/node_modules/express/lib/view.js:413:18) at ServerResponse.render (/Users/ehauser/working/express-coffee/node_modules/express/lib/view.js:313:17) at Router. (/Users/ehauser/working/express-coffee/app.coffee:9:21)
at done (/Users/ehauser/working/express-coffee/node_modules/express/lib/router/index.js:250:22)
at middleware (/Users/ehauser/working/express-coffee/node_modules/express/lib/router/index.js:244:9)