On server side I am using Connect and Socket.IO. I want to serve my client side code (also CofeeScript) to be compiled (to JavaScript), uglyfied and gzipped. I looked for Conenct middleware to do this
How can I test a function like this? app.post \'/incoming\', (req,res) -> console.log \"Hello, incoming call!\"
My JavaScript is as follows: var util = require(\'util\'); EventEmitter = require(\'events\').EventEmitter;
It would be useful to have a Coffeescript include function so it could load the external mustache templates when compiling in javascript and not clutter the coffee files.
I am trying to authenticate to Twitter using the access token and secret from my account, and I don\'t know how to do what I thought I was doing. I am using node-oauth, but I am open to other solution
im fairly new To Javascript and Rails 3.1. So i now have a Rails app up und runnig and doing what i wha开发者_StackOverflownt,BUT:
I\'m trying to setup a rails 3.1 project with coffeescript and jasmine for tests. I have followed the tutorial by pivotallabs but I\'m getting the following error:
I have the following code which I am try to write with coffeescript. $.ajax { type: \'GET\' url: \'/dashboard\'
I have a really simple coffescript class: class Bar foo: -> console.log(\'bar\') Which when compiled using coffee -c bar.coffee is being compiled into
I have rails 3.1 insta开发者_运维知识库lled, and I try to use coffee script. I get this: node.js:63