coffeescript
Coffeescript equivalent to Python's getattr
In python I can put a function into a variable at runtime, then call it using the getattr function method = getattr(self,self.name)[详细]
2023-04-01 13:04 分类:问答Node.js: Create an Express project using CoffeeScript
When I run express app_name, expressjs crea开发者_StackOverflowtes all the folders and files needed. I\'m wondering if there\'s a way to do the same but instead of creating the app.js in JS, it create[详细]
2023-04-01 08:50 分类:问答javascript function chaining without the chain members knowing about each other
I want to create a javascript pipeline like powershell, bash (|) or f# (|>). Ie. something equivalent to[详细]
2023-04-01 08:42 分类:问答Best way to require several modules in NodeJS
I don\'t much like the standard way to require modules, which goes somet开发者_运维知识库hing like this:[详细]
2023-04-01 08:08 分类:问答Insert & save with mongoose collection
I am trying to insert new records in开发者_C百科to my MongoDB using Mongoose.I have the following coffeescript, iterating over an array of ad_units:[详细]
2023-04-01 00:44 分类:问答CoffeeScript Indent Error
Any idea why this would throw an error when compiling? (window) -> # pubsub App.publish = (topic,args) ->[详细]
2023-03-31 20:27 分类:问答Node.js equivalent of Play! Framework [closed]
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet S开发者_运维百科tack Overflow guidelines. It is not currently accepting answers.[详细]
2023-03-31 17:51 分类:问答Is it safe to reference the accumulator during a for loop?
Is there a correct way to reference the output of an for loop in CoffeeScript. It seems that using the internal variable _results works some of the time, but it does work in some situations (shown bel[详细]
2023-03-31 15:02 分类:问答CoffeeScript to Node.js Syntax problem of ")"
I have a problem \"too many ) on line 开发者_运维百科21\" I can\'t compile this Coffee Script Code into Node.js[详细]
2023-03-31 05:28 分类:问答What is wrong with this clear timeout?
It\'s not working for some reason (in coffeescript) afunction = () -> window.clearTimeout(timeoutID)[详细]
2023-03-31 01:09 分类:问答