581 Commits

Author SHA1 Message Date
Jeremy Ashkenas
29b60e53fa Backbone.js 0.5.3 0.5.3 2011-08-09 10:39:09 -04:00
Jeremy Ashkenas
44629daacc patching a pernicious pushstate problem. 2011-08-09 10:28:20 -04:00
Jeremy Ashkenas
8fe04a9559 Merge pull request #541 from tbranyen/silent-start
Silent start
2011-08-08 07:18:33 -07:00
tbranyen
b1574b1034 allow history start to not call initial route 2011-08-07 15:23:20 -04:00
Jeremy Ashkenas
a1acb09d7e Merge pull request #537 from asan/master
Add 'groupBy' proxy for underscore 1.1.7 groupBy
2011-08-04 10:29:49 -07:00
Asan Usipov
3b6864835d Added 'groupBy' to underscore proxy methods 2011-08-04 21:25:43 +04:00
Jeremy Ashkenas
6bb43c1b81 fixes #244 -- allow View#events to be defined as a function, making it easier to call super. 2011-08-03 16:41:49 -04:00
Jeremy Ashkenas
10e71e3119 Fixes #531, reverts 39b36af 2011-08-03 16:11:41 -04:00
Jeremy Ashkenas
5dc001f3fd Adding Groupon Now as a backbone example app. 2011-08-03 10:12:54 -04:00
Jeremy Ashkenas
55bbbd462b copy edits on the previous commit 2011-08-02 18:06:51 -04:00
Jeremy Ashkenas
59dc74cdf2 Adding Americas Test Kitchen + Talking Points Memo's Baroque as example apps 2011-08-02 18:00:46 -04:00
Jeremy Ashkenas
541f0fad4f Merge branch 'master' of github.com:documentcloud/backbone 2011-07-29 10:52:53 -04:00
Jeremy Ashkenas
c7e195b4e5 copyedits: typos and word choice 2011-07-29 10:52:45 -04:00
Jeremy Ashkenas
b4f0afcbc1 Merge pull request #512 from neerajdotname/master
Just a minor edit in comment
2011-07-29 07:35:47 -07:00
Jeremy Ashkenas
89bdddde9c merging the jcoglan's patch 2011-07-29 10:31:10 -04:00
Jeremy Ashkenas
f399b04691 some Markdown snuck in. 2011-07-29 10:06:25 -04:00
Jeremy Ashkenas
41a6a0f729 Merge branch 'master' of github.com:documentcloud/backbone 2011-07-29 10:02:07 -04:00
Jeremy Ashkenas
aa0eff9417 Adding a Tim Toady section to the FAQ 2011-07-29 10:01:21 -04:00
Neeraj Singh
960a1c844b Edited comment 2011-07-28 23:38:54 -03:00
Jeremy Ashkenas
ebf9dd9bb9 Merge pull request #509 from devinhunt/master
Patch for emulateJSON sync. Forced processData setting breaks Backbone.emaulteJSON mode.
2011-07-27 14:25:27 -07:00
Jeremy Ashkenas
f7c23e494e Adding Hotel Tonight as a Backbone example. 2011-07-27 15:23:55 -04:00
Jeremy Ashkenas
7bfc9b83c3 Merge branch 'master' of github.com:documentcloud/backbone 2011-07-27 13:48:08 -04:00
Jeremy Ashkenas
e14894844f Adding Pandora and Blossom as backbone examples. 2011-07-27 13:47:54 -04:00
Devin Hunt
b85c116caf Ajax.processData is left as the default if emulateJSON is set to true 2011-07-27 10:59:30 +01:00
Jeremy Ashkenas
22456de207 whitespace 2011-07-26 16:00:44 -03:00
Jeremy Ashkenas
fb60bf5de5 Merge pull request #507 from shesek/patch-4
Set default context for events on bind()
2011-07-26 12:00:20 -07:00
Nadav
39b36afd74 Setting to context to this by default on bind() instead of trigger() 2011-07-26 21:27:10 +03:00
Jeremy Ashkenas
9d2811a639 Backbone.js 0.5.2 0.5.2 2011-07-26 13:31:51 -04:00
Jeremy Ashkenas
49a16bdd32 Merge pull request #500 from keithcirkel/master
Issue #482
2011-07-26 10:22:43 -07:00
Jeremy Ashkenas
d8ef258d8b Merge pull request #503 from cdmwebs/master
Revert 495's behavior with tests
2011-07-25 15:26:19 -07:00
Chris Moore
3145b4db22 isNew should use id, not idAttribute 2011-07-25 17:48:09 -04:00
Keith Cirkel
6ef6f759b6 Add a third "context" argument to Backbone.Event.Bind which, when passed, will bind the callback to the provided context.
Example:

	Backbone.Event.Bind('event', this.event, this);

Before this commit the way to do this was as follows:

	Backbone.Event.Bind('event', _.bind(this.event, this));
2011-07-25 22:47:48 +01:00
Jeremy Ashkenas
77239753e1 Adding SeatGeek as an example 2011-07-25 16:52:24 -04:00
Jeremy Ashkenas
5271e7ac1a Merge branch 'master' of github.com:documentcloud/backbone 2011-07-22 16:57:01 -04:00
Jeremy Ashkenas
bc3daff710 Adding Trapit as an example app. 2011-07-22 16:56:46 -04:00
Jeremy Ashkenas
63a4be924f Merge pull request #497 from rsim/return_immediately_after_redirect_to_hash_route
return immediately after redirect to hash route
2011-07-22 08:01:09 -07:00
Raimonds Simanovskis
b32a34c52f do not call loadUrl when redirecting to hash based URL on non-push state browser 2011-07-22 17:55:09 +03:00
James Coglan
f77033d3c0 Remove coupling from model to view in example app by listening to model's 'destroy' event to remove the view. 2011-07-22 14:40:11 +01:00
Jeremy Ashkenas
a6a478fd48 Merge pull request #495 from tbranyen/isNew
updated model isNew to use idAttribute
2011-07-22 06:13:14 -07:00
Tim Branyen
70cc8ee87b updated model isNew to use idAttribute 2011-07-21 22:00:05 -04:00
Jeremy Ashkenas
ca8a0491e7 Merge branch 'master' of github.com:documentcloud/backbone 2011-07-19 16:32:42 -04:00
Jeremy Ashkenas
3f8f4cfbb4 Adding Trajectory as an example app 2011-07-19 16:32:29 -04:00
Jeremy Ashkenas
bc964ac33a Merge pull request #469 from afeld/patch-1
processData should default to true
2011-07-19 05:27:20 -07:00
Jeremy Ashkenas
8b3ca51e08 Merge pull request #481 from shesek/master
Setting "this" context on a defaults() function
2011-07-18 06:03:43 -07:00
Nadav
909c427cf4 Call Backbone.Model.defaults() with "this" set to the model instance. 2011-07-18 08:22:26 +03:00
Jeremy Ashkenas
48cfa5a8c7 Merge pull request #470 from wuzhe/upstream-master
Fix an unclosed HTML entity when escape single quote
2011-07-08 05:17:46 -07:00
Wu Zhe
8ffdd09b52 Fix an unclosed HTML entity when escape single quote 2011-07-08 14:20:39 +08:00
Aidan Feldman
7816861673 processData should use ajax default (true), and only be set to false when doing a non-GET request 2011-07-07 23:13:50 -07:00
Jeremy Ashkenas
6d07d2f0e2 multiple models with the same ID should be allowed in a collection. 2011-07-05 16:40:23 -04:00
Jeremy Ashkenas
36dddfbe06 Backbone.js 0.5.1 0.5.1 2011-07-05 09:59:15 -04:00