backbone.js
Difference _() and () in javascript
I\'ve been working in backbone.js and came across the following snippet of code. _(view.buttonViews).each(function(button) {[详细]
2023-04-13 09:18 分类:问答Backbone Model not calling destroy callback properly
I\'m getting nuts with this thing. I really can\'t figure out what\'s the issue here. I have a collection of models called projects, and each of this project has its own projectviewitem.[详细]
2023-04-13 05:42 分类:问答syntax error when trying to use backbone.js with Facebook json feed
I have a super simple Backbone model/collection that wraps around a facebook feed. window.Story = Backbone.Model.extend({});[详细]
2023-04-13 05:22 分类:问答Backbone.js Router Routes case insensitive
Does anyone know how to make the Backbone routes case insensitive? I.E. http://localhost/Products http://localhost/products[详细]
2023-04-13 04:14 分类:问答BackboneJS: Load more items into a collection
In Backbone JS when I fetch a collection should I be fetching the entire collection or a small portion of it?[详细]
2023-04-13 00:32 分类:问答Should I be rendering html on the server-side or client-side?
I am looking into Backbone JS and getting a little confused. I am used to compiling my page html on the 开发者_如何学Goserver-side (using JADE) and then interacting with these elements using jQuery on[详细]
2023-04-12 23:31 分类:问答Override Backbone.sync but save its previous functionality
I\'d like to override Backbone.sync but also have the original Backbone.sync functionality ru开发者_开发百科n after my additions. I guess kind of like calling super on a superclass in Java. Is there a[详细]
2023-04-12 21:28 分类:问答Backbone.js collection retain new sort order?
OK, so I am sorting a group of dashboard widgets with jQuery UI and would like to re开发者_如何转开发tain the new order of the widgets.What is the best approach to this?Any ideas?[详细]
2023-04-12 20:21 分类:问答Automatically extend event from a base view
I have a base class for all views and then in each section of the app, like profiles, I also have a base class. That way shared templates and properties can be used throughout my app on many levels. 开[详细]
2023-04-12 20:15 分类:问答Instantiating Backbone by trigger? (Or How to defer execution of an anonymous function?)
Continuing my quest to learn more about Backbone.js I have arrived to a situation where I would want to instantiate a Backbone application programmatically. This occurs in a situation where the entire[详细]
2023-04-12 18:51 分类:问答