coffeescript
Preparing client side Coffeescript: compiling, uglifying gzipping
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[详细]
2023-04-03 09:15 分类:问答Node.js: How to test a function
How can I test a function like this? app.post \'/incoming\', (req,res) -> console.log \"Hello, incoming call!\"[详细]
2023-04-03 04:52 分类:问答How do I setInterval with CoffeeScript?
My JavaScript is as follows: var util = require(\'util\'); EventEmitter = require(\'events\').EventEmitter;[详细]
2023-04-03 02:08 分类:问答Precompile mustache templates or load externally?
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.[详细]
2023-04-02 14:52 分类:问答How do I setup Twitter OAuth on Node.js?
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[详细]
2023-04-02 08:59 分类:问答rail3.1 javascript coffecsript newbie question
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:[详细]
2023-04-02 07:18 分类:问答Running jasmine with rails 3.1 and coffeescript
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:[详细]
2023-04-02 01:39 分类:问答$.ajax will not work with coffeescript
I have the following code which I am try to write with coffeescript. $.ajax { type: \'GET\' url: \'/dashboard\'[详细]
2023-04-01 17:56 分类:问答Issues compiling Coffeescript
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[详细]
2023-04-01 16:54 分类:问答Using coffee-script with rails3.1 ubuntu 11.04
I have rails 3.1 insta开发者_运维知识库lled, and I try to use coffee script. I get this: node.js:63[详细]
2023-04-01 14:36 分类:问答