Jeremy Ashkenas
0cbcdc96eb
Fixes #935 . ensuring that sync is triggered on the collection after the model is removed.
2012-02-02 14:09:54 -05:00
Jeremy Ashkenas
dfc966272f
Merge pull request #936 from braddunbar/nested-change
...
fixes #915 - nested `'change:attr'` events
2012-02-02 08:51:50 -08:00
Brad Dunbar
17d0f12a59
use a while loop instead of do...while
2012-02-02 11:24:39 -05:00
Brad Dunbar
29a4359ff7
fixes #915 - nested 'change:attr' events
...
* `'change'` does not fire without changes
* nested `'change:attr'` events are fired
* `'change'` is only fired once for nested calls
* nested `'change'` events are fired
2012-02-02 10:49:27 -05:00
Jeremy Ashkenas
8da1ff0a9d
Merge branch 'master' of github.com:documentcloud/backbone
2012-02-02 09:46:39 -05:00
Jeremy Ashkenas
9d6517685c
adding a link to the wiki of examples
2012-02-02 09:46:08 -05:00
Jeremy Ashkenas
4d2ea14aca
Merge pull request #932 from braddunbar/save-wait
...
fixes #928 - Save sends correct attrs.
2012-02-02 06:10:36 -08:00
Brad Dunbar
ec61503c87
fixes #928 - Save sends correct attrs.
...
* Temporarily set model's attrs for `sync`.
* Remove cross-module (global) dependencies in
Collection, Model, and sync test modules.
2012-02-02 08:57:47 -05:00
Jeremy Ashkenas
c4254cb338
Merge pull request #925 from braddunbar/falsey-haschanged
...
Passing Falsey Keys to `hasChanged` or `previous`
2012-02-01 13:48:39 -08:00
Brad Dunbar
bc79feaf5a
passing falsey keys to hasChanged or previous
2012-02-01 16:06:36 -05:00
Brad Dunbar
c860070ca3
refactor _changed to prevent confusion
2012-02-01 09:13:31 -05:00
Jeremy Ashkenas
bbee6f17ce
Merge pull request #909 from josscrowcroft/master
...
Return `this` from View.setElement()
2012-01-31 07:30:58 -08:00
Jeremy Ashkenas
e572881fff
Merge pull request #911 from braddunbar/validate
...
fixes #907 - `save` with `wait` succeeds without `validate`
2012-01-31 07:29:49 -08:00
Brad Dunbar
7a486392f1
ensure options is present
2012-01-31 10:21:56 -05:00
Jeremy Ashkenas
6ffd392da4
added a few missing things to the change log
2012-01-31 10:21:54 -05:00
Brad Dunbar
db95e2c1fb
fixes #907 - save with wait succeeds without validate
2012-01-31 10:02:05 -05:00
Joss Crowcroft
4ad12bcd0a
Return this from View.setElement
2012-01-31 17:18:16 +08:00
Jeremy Ashkenas
843eacfcd3
Merge pull request #903 from tomasztunik/master
...
Removed duplicated variable definitions
2012-01-30 13:35:23 -08:00
Jeremy Ashkenas
12a6fa4b0f
Adding a note about the need to upgrade Underscore.js
2012-01-30 16:30:07 -05:00
Tomasz Tunik
73858ecf31
Removed multiple definitions for already defined variable
2012-01-30 22:27:16 +01:00
Jeremy Ashkenas
5ce976bf6a
Backbone.js 0.9.0
0.9.0
2012-01-30 16:24:40 -05:00
Brad Dunbar
8ce8753930
leaked global
2012-01-30 15:52:23 -05:00
brad dunbar
62620b5a98
Merge pull request #902 from tomasztunik/master
...
Fixed variable leak to global scope
2012-01-30 12:50:21 -08:00
Tomasz Tunik
f52ef8c724
Fixed small leak introduced by #901
2012-01-30 21:45:20 +01:00
Jeremy Ashkenas
da7bf9929d
Merge pull request #901 from braddunbar/add-duplicate
...
Check for Duplicate models/ids
2012-01-30 12:31:04 -08:00
Brad Dunbar
50e8103fdf
check for duplicate models/ids
2012-01-30 15:24:41 -05:00
Brad Dunbar
fb97ef1e86
one more refactor...
2012-01-30 13:57:00 -05:00
Brad Dunbar
ef9d40aa82
factor away else branch
2012-01-30 13:28:34 -05:00
Jeremy Ashkenas
4b4f2c1ad6
missed an API regression in model.changedAttributes(), reimplementing in the same way as the original.
2012-01-30 12:18:58 -05:00
Jeremy Ashkenas
a2ab3b13eb
adding a section to the Backbone FAQ on extending...
2012-01-30 11:40:35 -05:00
Jeremy Ashkenas
ac580caffa
Fixes #892 ... make .route() chainable.
2012-01-30 11:03:16 -05:00
Jeremy Ashkenas
00b2551e66
Adding Stripe and Code School as example apps.
2012-01-30 10:39:59 -05:00
Jeremy Ashkenas
ecba0ec514
trying to fix animoto.png
2012-01-30 10:17:24 -05:00
Jeremy Ashkenas
0bbff7defc
adding Animoto.com as an example app.
2012-01-30 10:13:42 -05:00
Jeremy Ashkenas
edafdebaab
Merge pull request #898 from ckorhonen/master
...
Documentation - Added Animoto to Examples Section
2012-01-30 07:06:07 -08:00
Jeremy Ashkenas
e08ff14285
fixes #64 -- mention that POST and PUT are complete in docs.
2012-01-30 09:47:48 -05:00
Jeremy Ashkenas
8df28fd9e6
tweaking font-sizes / spacing a bit.
2012-01-30 09:45:39 -05:00
Jeremy Ashkenas
31046e0562
Merge pull request #897 from dcneiner/jquery-zepto-context
...
Made minor optimization to scoped jQuery/Zepto method $ on the Backbone.View
2012-01-30 06:30:27 -08:00
Jeremy Ashkenas
d3459ee047
Merge pull request #893 from braddunbar/change
...
Fire `'change:attr'` from `change`
2012-01-30 06:09:34 -08:00
Brad Dunbar
2a6624cb24
use _.has for Object proto props
2012-01-30 05:52:47 -05:00
Brad Dunbar
2f654d2676
cache changed attributes
2012-01-30 05:00:41 -05:00
Chris Korhonen
ecd4e5ac4d
Added Animoto to Examples
2012-01-29 09:55:42 -05:00
Douglas Neiner
018c19a12a
Updated context find (.$) to use new cached, wrapped this.$el.
2012-01-29 08:51:51 -06:00
Doug Neiner
e1762ed077
Made minor optimization to scoped jQuery/Zepto method $ on the Backbone.View
2012-01-29 00:43:45 -06:00
Brad Dunbar
db12a2351f
documentation for #893
2012-01-27 14:30:32 -05:00
Brad Dunbar
0d6e5f3934
Fire 'change:attr' from change
2012-01-27 14:07:33 -05:00
Jeremy Ashkenas
028771fcab
spacing out the headers a bit more
2012-01-25 14:34:57 -05:00
Jeremy Ashkenas
9ad7b6a48a
re-wording the intro 'graf, adding links.
2012-01-25 14:28:57 -05:00
Jeremy Ashkenas
e63fdc6456
bumping up the size of the section headers...
2012-01-25 14:18:30 -05:00
Jeremy Ashkenas
da25d46c96
adding pretty download link/buttons
2012-01-25 14:17:04 -05:00