coffeescript
Model 'changing', but it's not
I have a view: class FancyView extends Backbone.View template: #fancytemplate initialize: () -> @add()[详细]
2023-04-12 08:58 分类:问答Are there any frameworks for doing realtime models in node.js?
I know of https://github.com/andyet/Capsule开发者_StackOverflow and https://github.com/codeparty/racer[详细]
2023-04-12 07:08 分类:问答Referencing parent class in CoffeeScript from a jQuery callback
I\'m new to CoffeScript and I was wondering if there\'s a way of writing the following piece of code without referencing the global variable app:[详细]
2023-04-12 05:19 分类:问答If I plan to use Node, is it a mistake to jump right in to a CoffeeScript framework like Zappa?
I haven\'t used much JavaScript since the early 00s, and I\'m starting to see that my current app is well suited for Node.js.But as a ruby developer, coffeescript looks like it will be more my forte.B[详细]
2023-04-11 20:45 分类:问答jquery $(this) not working in coffee script / backbone
I recently started playing with Backbone and CoffeeScript using Brunch and was wondering why something like this...[详细]
2023-04-11 16:05 分类:问答Backbone relational events not firing?
class TheModel extends Backbone.RelationalModel relations:[ type: Backbone.HasMany key: \'subModels\' relatedModel: SubModel[详细]
2023-04-11 15:38 分类:问答-
in CoffeeScript, how can I use a variable as a key in a hash?
eg: So: foo = \"as开发者_如何学Pythondf\" {foo: \"bar\"} eval foo # how do I get {\"asdf\": \"bar\"} ?[详细]
2023-04-11 12:11 分类:问答 Wrong event executes in CoffeeScript
This works: $(\"#add\").click( -> stack.op \"add\" ) $(\"#sub\").开发者_StackOverflow社区click( -> stack.op \"sub\" )[详细]
2023-04-11 11:19 分类:问答Should I use CoffeeScript soaks and the existential operator together?
I\'m working on a script that accepts a settings object, but uses default values where settings are not provided.[详细]
2023-04-11 06:25 分类:问答create anonymous function with optional argument in Coffeescript
I\'m new to Coffeescript and I\'m having trouble turning this Javascript: Handlebars.registerHelper(\"debug\", function(optionalValue) {[详细]
2023-04-11 06:13 分类:问答