Skip to content
#

backbone

backbonejs logo

Backbone supplies structure to JavaScript-heavy applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing application over a RESTful JSON interface.

Here are 371 public repositories matching this topic...

danspam
danspam commented Aug 31, 2018

I have found a couple of things (so far) not mentioned in the upgrade guide:

  1. filter of a CollectionView is now viewFilter and parameters have changed
  2. { sort:false } on a CollectionView should now be {sortWithCollection: false}

Also, the depreciated section of the upgrade guide in the docs is not displaying correctly.

anaumidis
anaumidis commented Nov 17, 2015

When I require("backbone-nested-model") it returns the Backbone object but it should
return the NestedModel object so you can instantiate or extend from it a new NestedModel object.

This is how it works now:

var Backbone = require("backbone-nested-model");

var User = Backbone.NestedModel.extend({
});

var user = new User();

This is how it should be:

var NestedModel = require("ba
sakes
sakes commented Mar 16, 2017

Could you add a filter example to your documentation? I'm going to have to find my own implementation due to time constraints, but I would like to see what you think is the correct way to structure a filter w/backbone-redux.

Filter Example: Show Only Completed Todos, or Show Only Open Todos

This could apply to sorts as well, so basically how best to work with flags on backbone collections?

Created by Jeremy Ashkenas

Released October 13, 2010

Website
backbonejs.org
Wikipedia
Wikipedia
You can’t perform that action at this time.