Jeremy Ashkenas
|
2d02a3cfb6
|
Fixes #861, better error message for adding invalid models to a collection.
|
2012-01-17 10:54:03 -05:00 |
|
Jeremy Ashkenas
|
7ba0275613
|
Fixes #574, clone 'models' before removing, so as to allow collection.remove(collection.models)
|
2012-01-17 10:29:01 -05:00 |
|
Jeremy Ashkenas
|
ff176ac61f
|
reverting previous change (#859)
|
2012-01-17 10:17:42 -05:00 |
|
Jeremy Ashkenas
|
05a45d3e9d
|
Merge pull request #859 from ekratskih/master
Cross domain issue patch for old ie browsers (<=7)
|
2012-01-17 07:09:55 -08:00 |
|
Edil Kratskih
|
07ba2d5398
|
Simple refactoring
|
2012-01-16 13:10:34 +06:00 |
|
Jeremy Ashkenas
|
61fc127fea
|
Merge pull request #858 from braddunbar/trigger-multiple
trigger all for each event
|
2012-01-14 06:11:10 -08:00 |
|
Brad Dunbar
|
9df6387d9e
|
trigger all for each event
|
2012-01-13 18:58:11 -05:00 |
|
Jeremy Ashkenas
|
9c0e7f00ea
|
Merge pull request #857 from braddunbar/events-documentation
Documentation for Backbone.Events
|
2012-01-13 14:25:27 -08:00 |
|
Jeremy Ashkenas
|
2dce413247
|
Adding options.index to Collection#add and #remove.
|
2012-01-13 17:20:15 -05:00 |
|
Brad Dunbar
|
920d047145
|
Documentation for Backbone.Events
|
2012-01-13 17:16:53 -05:00 |
|
Jeremy Ashkenas
|
34e0f7fb26
|
Fixes #582, fixes #425, run a second loop to trigger change:attribute events after all changes have been made.
|
2012-01-13 17:08:48 -05:00 |
|
Jeremy Ashkenas
|
3f0979f09a
|
Fixes #593 -- pass complete options to model constructor on create()
|
2012-01-13 16:56:12 -05:00 |
|
Jeremy Ashkenas
|
9c62b26ef0
|
Fixes #629, documents how easy it is to make event dispatching objects.
|
2012-01-13 16:26:05 -05:00 |
|
Jeremy Ashkenas
|
32e5ab7ae9
|
Fixes #634, documentation of emulateHTTP
|
2012-01-13 16:17:24 -05:00 |
|
Jeremy Ashkenas
|
4316b04ffa
|
allow the passing of any number of arguments to Model#initialize
|
2012-01-13 16:10:14 -05:00 |
|
Jeremy Ashkenas
|
5aa4fda9ba
|
Fixes #640 -- adds the ability to bind/unbind/trigger (on/off/trigger) multiple, space separated events, after jQuery.
|
2012-01-13 16:01:59 -05:00 |
|
Jeremy Ashkenas
|
51335bf10f
|
Fixes #641 -- on and off are now the preferred names for bind and unbind, following jQuery.
|
2012-01-13 15:27:57 -05:00 |
|
Jeremy Ashkenas
|
b28a24207a
|
fixes #651 -- always clone options.
|
2012-01-13 14:30:43 -05:00 |
|
Jeremy Ashkenas
|
5b43cd9dd1
|
Fixes #419 -- add a global 'route' event, on Bacckbone.history.
|
2012-01-13 13:47:55 -05:00 |
|
Jeremy Ashkenas
|
a78be62684
|
Fixes #702: adds 'initial' and 'shuffle' to Backbone collections.
|
2012-01-13 13:30:53 -05:00 |
|
Jeremy Ashkenas
|
a8bd142b64
|
Fixes #714, assign model.collection early, so that those overriding set() can use it from the get-go.
|
2012-01-13 13:19:28 -05:00 |
|
Jeremy Ashkenas
|
7c7f550a70
|
adding a favicon
|
2012-01-13 12:28:04 -05:00 |
|
Jeremy Ashkenas
|
a881ba6f5a
|
Fixes #720, document 'constructor'
|
2012-01-13 11:14:07 -05:00 |
|
Jeremy Ashkenas
|
837f774fd8
|
lint/style tweaks to prev commit.
|
2012-01-13 11:07:38 -05:00 |
|
Jeremy Ashkenas
|
159e51e860
|
Merge pull request #723 from braddunbar/bind-during-trigger
(un)bind does not alter callback list during trigger
|
2012-01-13 08:03:04 -08:00 |
|
Jeremy Ashkenas
|
8c03df50c3
|
Fixes #783 -- adds a 'sync' event, fired whenever a successful call has been made to update the server.
|
2012-01-13 10:57:51 -05:00 |
|
Brad Dunbar
|
47e1f7e6c8
|
(un)bind does not alter callback list during trigger
|
2012-01-13 08:24:47 -05:00 |
|
Jeremy Ashkenas
|
d5ff5e32f6
|
Fixes #786 (and others) -- leading slashes should never be defined as routes, or passed to navigate ... so strip 'em out proactively.
|
2012-01-12 18:10:41 -05:00 |
|
Jeremy Ashkenas
|
328cb66638
|
Fixes #803, allows you to opt-out of hashchange, while opting-in to push state, using full-page refreshes for old browsers.
|
2012-01-12 17:44:45 -05:00 |
|
Jeremy Ashkenas
|
a49bb4f3e1
|
Fixes #811 -- allow you to pass a context when unbinding events as well.
|
2012-01-12 17:09:15 -05:00 |
|
Jeremy Ashkenas
|
d514f2b4dc
|
fixes #814 -- load initial models after Collection#initialize, not before.
|
2012-01-12 16:46:27 -05:00 |
|
Jeremy Ashkenas
|
93cb997fc3
|
removing overzealous events setting API.
|
2012-01-12 16:37:18 -05:00 |
|
Jeremy Ashkenas
|
feefb1c352
|
Merge pull request #815 from zowens/master
View Event Callbacks as Functions
|
2012-01-12 13:34:55 -08:00 |
|
Jeremy Ashkenas
|
88e6b32b51
|
Fixes #822, change comment to avoid 'confusing' reference to super
|
2012-01-12 16:18:15 -05:00 |
|
Jeremy Ashkenas
|
4d29dfc388
|
Fixes #823, mention 'attributes'
|
2012-01-12 16:16:34 -05:00 |
|
Jeremy Ashkenas
|
cee62e6541
|
Fixes #826 -- expose Backbone.wrapError.
|
2012-01-12 16:05:53 -05:00 |
|
Jeremy Ashkenas
|
4719659298
|
Fixes #841, adding upgrading jquery, classname --> class in the docs.
|
2012-01-12 15:26:46 -05:00 |
|
Jeremy Ashkenas
|
1d90bb9cfc
|
binding the comparator function before using it, so that you can rely on properties of your collection within it.
|
2012-01-12 15:13:22 -05:00 |
|
Jeremy Ashkenas
|
a8dbe4efa7
|
Merge pull request #854 from braddunbar/inline-add-remove
Only Increment Length Once
|
2012-01-11 17:19:47 -08:00 |
|
Brad Dunbar
|
4dd506c3d4
|
more descriptive variable name
|
2012-01-11 18:25:17 -05:00 |
|
Brad Dunbar
|
f329cbffe4
|
only increment length once
|
2012-01-11 17:37:51 -05:00 |
|
Jeremy Ashkenas
|
8cfb243b8e
|
Fixes #836, Fixes #708 -- going back to previous stance: two models with the same id can't be added to the same collection.
|
2012-01-11 17:03:30 -05:00 |
|
Jeremy Ashkenas
|
cb7090db77
|
fixes #838 -- allow View#attributes to be defined as a function, as well as a value.
|
2012-01-11 16:47:50 -05:00 |
|
Jeremy Ashkenas
|
d3ae0aa92a
|
Fixes #839
|
2012-01-11 15:56:27 -05:00 |
|
Jeremy Ashkenas
|
3cbd7909f1
|
clarifying paragraph for #843
|
2012-01-11 15:46:45 -05:00 |
|
Jeremy Ashkenas
|
bf1ffbeb67
|
nice refactor. removed _add and _remove and moved 'em in to the public API.
|
2012-01-11 13:45:16 -05:00 |
|
Jeremy Ashkenas
|
eb868b66c8
|
merging in #846
|
2012-01-11 12:28:38 -05:00 |
|
Jeremy Ashkenas
|
2312b9072c
|
adding a test to ensure that routes aren't triggered multiple times. #849
|
2012-01-11 12:11:10 -05:00 |
|
Jeremy Ashkenas
|
933469a2bd
|
Merge pull request #851 from mickeyreiss/master
Switch order of delegateEvents and initialize in View constructor
|
2012-01-11 09:04:49 -08:00 |
|
Jeremy Ashkenas
|
1675e76cb7
|
Merge branch 'master' of github.com:documentcloud/backbone
|
2012-01-11 11:56:22 -05:00 |
|