Top "Coffeescript" questions

CoffeeScript is a language that compiles into JavaScript.

Why doesn't adding CORS headers to an OPTIONS route allow browsers to access my API?

I am trying to support CORS in my Node.js application that uses the Express.js web framework. I have …

node.js express coffeescript cors
How to use executables from a package installed locally in node_modules?

How do I use a local version of a module in node.js. For example, in my app, I installed …

node.js coffeescript npm node-modules
How to run Gulp tasks sequentially one after the other

in the snippet like this: gulp.task "coffee", -> gulp.src("src/server/**/*.coffee") .pipe(coffee {bare: true}).on("…

javascript node.js coffeescript gulp
How do I get the Back Button to work with an AngularJS ui-router state machine?

I have implemented an angularjs single page application using ui-router. Originally I identified each state using a distinct url however …

javascript angularjs coffeescript angular-ui-router
How does Trello access the user's clipboard?

When you hover over a card in Trello and press Ctrl+C, the URL of this card is copied to …

javascript coffeescript clipboard trello
How to use mongoose findOne

I have the below schema (apologies that it is in coffeescript) Schema = mongoose.Schema AuthS = new Schema auth: {type: String, …

node.js mongodb coffeescript mongoose
React onClick and preventDefault() link refresh/redirect?

I'm rendering a link with react: render: -> `<a className="upvotes" onClick={this.upvote}>upvote</a&…

reactjs hyperlink coffeescript preventdefault
How do I define global variables in CoffeeScript?

On Coffeescript.org: bawbag = (x, y) -> z = (x * y) bawbag(5, 10) would compile to: var bawbag; bawbag = function(x, …

javascript coffeescript
How to rotate a 3D object on axis three.js?

I have a great problem about the rotation in three.js I want to rotate my 3D cube in one …

javascript coffeescript three.js
Create an ISO date object in javascript

I have a mongo database set up. creating a new date object in mongoDb create a date object in ISO …

javascript node.js mongodb coffeescript