286 Commits

Author SHA1 Message Date
Jeremy Ashkenas
356664a735 Backbone.js 0.3.2 0.3.2 2010-11-23 17:22:42 -05:00
Jeremy Ashkenas
33232f524b Adding DC Workspace and Backbone Mobile examples. 2010-11-23 17:11:22 -05:00
Matt
57194beffa Fix recursion error when saving from within a change event. 2010-11-22 20:49:33 -08:00
Jeremy Ashkenas
9e1fcfad58 Revert "about:blank for the IE hashchange iframe support, for IE 6."
This reverts commit 94c77e84f4.
2010-11-22 17:37:41 -05:00
Jeremy Ashkenas
94c77e84f4 about:blank for the IE hashchange iframe support, for IE 6. 2010-11-22 15:35:51 -05:00
Jeremy Ashkenas
a969d670c7 Allowing 'sync' to be overriden on a per-model per-collection basis. 2010-11-22 14:51:18 -05:00
Jeremy Ashkenas
f3e961da08 Issue #80. Adding default attributes to Backbone.Model 2010-11-22 14:22:21 -05:00
Jeremy Ashkenas
d574c9f732 docMode does not exist in IE < 8 2010-11-22 12:47:21 -05:00
Jeremy Ashkenas
70e6cd65dc that should be docMode <= 7 2010-11-22 12:41:04 -05:00
Jeremy Ashkenas
f63c99511e Merge branch 'master' of github.com:documentcloud/backbone 2010-11-18 09:43:01 -05:00
Jeremy Ashkenas
327ba8c54d Fixing id=0 2010-11-18 09:42:54 -05:00
Samuel Clay
52c460bc12 Allowing collections to remove models by either Cid or Id (prefering cid). 2010-11-17 14:50:39 -05:00
Jeremy Ashkenas
11dcf246c7 Using a save join() for the default implementation of Model#url 2010-11-16 17:36:53 -05:00
Jeremy Ashkenas
99fbc08224 Adding empty initialize() function for all Backbone classes, to make calling super() a easier to get right. 2010-11-16 17:21:53 -05:00
Jeremy Ashkenas
7e363dfc8f Rails include_root_in_json tips. 2010-11-15 15:46:50 -05:00
Jeremy Ashkenas
86c3089379 Issue #77, don't call toJSON unless you need to. 0.3.1 2010-11-15 10:21:01 -05:00
Jeremy Ashkenas
78cf070694 Backbone 0.3.1 2010-11-15 10:14:41 -05:00
Jeremy Ashkenas
58e748bd8a adding commas to the docs 2010-11-14 15:59:46 -05:00
Jeremy Ashkenas
8ad010ff2f removing a cautionary note that has been obsoleted by recent changes to jQuery. 2010-11-12 16:36:56 -05:00
Jeremy Ashkenas
6eb90e3e18 more mentions of history.start() 2010-11-12 16:11:34 -05:00
Jason Davies
5a32ececc7 Remove duplicate backbone.localStorage docs 2010-11-12 17:22:07 +00:00
Niels Sandholt Busch
2541654889 Remove !current check from checkUrl to allow loading of empty fragments. 2010-11-11 14:09:48 -08:00
Jeremy Ashkenas
d190e9e71e send 'add' and 'remove' events through the model. 2010-11-11 09:54:14 -05:00
Jeremy Ashkenas
b38e9167c7 Adding View#remove. 2010-11-11 09:44:38 -05:00
Jeremy Ashkenas
3fa14be5a1 one more bound routes example for the road... 0.3.0 2010-11-09 13:39:13 -05:00
Jeremy Ashkenas
03b790f70a removing erroneous mention of History#setLocation 2010-11-09 13:29:32 -05:00
Jeremy Ashkenas
46d196d1c0 tweaking annotated source. 2010-11-09 13:25:52 -05:00
Jeremy Ashkenas
f22d77ac44 Backbone 0.3.0 2010-11-09 13:20:33 -05:00
Jeremy Ashkenas
1e0986b4e7 save -> saveLocation 2010-11-09 12:38:59 -05:00
Jeremy Ashkenas
1f740b93f0 first draft of Controller/History documentation. 2010-11-09 12:34:44 -05:00
Jeremy Ashkenas
b638e31cd7 light refactor for History#getFragment 2010-11-09 11:14:48 -05:00
Jeremy Ashkenas
9ebe66b4a2 slight refactor to old-IE detection. 2010-11-09 11:00:50 -05:00
Jeremy Ashkenas
4ff388ab95 removing extraneous hasState flag. 2010-11-09 10:29:45 -05:00
Jeremy Ashkenas
f636b3a394 Making the fragment a little more consistent and pushState-ready. No octothorpe. 2010-11-09 10:28:20 -05:00
Jeremy Ashkenas
151417e7bc separating out emulateHTTP from emulateJSON, with tests. 2010-11-08 15:42:09 -05:00
Jeremy Ashkenas
be37cf0178 passing silent: true now suppresses validations. Issue #52 2010-11-08 15:21:54 -05:00
Jeremy Ashkenas
cbc5055b3a lowering the default hashchange time to 50. 2010-11-08 15:06:52 -05:00
Jeremy Ashkenas
3373fa0270 Adding the IE8-in-IE7-mode hack. 2010-11-08 15:05:38 -05:00
Jeremy Ashkenas
6443b73069 making the iframe tabindex -1 2010-11-08 15:01:57 -05:00
Jeremy Ashkenas
6de4a8cc37 all tests pass in IE7 2010-11-08 14:56:21 -05:00
Jeremy Ashkenas
4aafb6b27d Adding tests for Backbone.Controller 2010-11-08 14:52:30 -05:00
Jeremy Ashkenas
61397b9635 commenting Backbone.History 2010-11-08 14:33:22 -05:00
Jeremy Ashkenas
3fc9ef1e6b commentng out Backbone.Controller 2010-11-08 14:22:22 -05:00
Jeremy Ashkenas
37cd99124d first draft of splatted params. 2010-11-08 13:45:08 -05:00
Jeremy Ashkenas
bdee3a2512 first draft of Backbone.Controller and Backbone.History 2010-11-08 12:45:54 -05:00
Jeremy Ashkenas
e1e6625a45 that's .js 2010-11-07 18:57:18 -05:00
Jeremy Ashkenas
09c7870fb2 Adding version number + header to backbone-min.js 2010-11-07 18:52:26 -05:00
Jeremy Ashkenas
ee0cf27cdc fixing comments typo. 2010-11-06 12:44:51 -04:00
Jeremy Ashkenas
501b9ab36c processData should be true if emulateHttp is true 2010-11-06 09:52:51 -04:00
Jeremy Ashkenas
9a74dbc9c3 Make protoProps optional, when inheriting. 2010-11-06 09:48:56 -04:00