Jeremy Ashkenas
29b60e53fa
Backbone.js 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
tbranyen
b1574b1034
allow history start to not call initial route
2011-08-07 15:23:20 -04: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
Neeraj Singh
960a1c844b
Edited comment
2011-07-28 23:38:54 -03: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
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
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
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
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
Tim Branyen
70cc8ee87b
updated model isNew to use idAttribute
2011-07-21 22:00:05 -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
Nadav
909c427cf4
Call Backbone.Model.defaults() with "this" set to the model instance.
2011-07-18 08:22:26 +03: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
2011-07-05 09:59:15 -04:00
Jeremy Ashkenas
69e63b1860
Merge pull request #457 from asan/master
...
Fix back button problem in old browsers.
2011-07-05 06:34:29 -07:00
Jeremy Ashkenas
961d599733
Merge pull request #448 from braddunbar/contains
...
add 'contains' alias for 'include'
2011-07-05 06:18:22 -07:00
Jeremy Ashkenas
10230e4d76
Issue #460 -- removing the optional bang from hashStrip ... too many inconsistencies.
2011-07-05 09:03:33 -04:00
Jeremy Ashkenas
d3c9a9b0d5
fixes #459 , inconsistency with constructor/initialize.
2011-07-05 08:58:13 -04:00
Asan Usipov
c87460ebf3
Fixed back button issue then open pushState link in browser without pushState support
2011-07-04 19:02:27 +04:00
Jeremy Ashkenas
d2082a54cf
issue #451 + test.
2011-07-01 18:54:49 -04:00
Jeremy Ashkenas
c39ddd0c16
Better hash-to-pushState upgrades, via replaceState.
2011-07-01 17:08:59 -04:00
Jeremy Ashkenas
0798d97672
tweaking transparent URL upgrades.
2011-07-01 13:54:56 -04:00
Jeremy Ashkenas
2e1f85d8ec
replacing setLocation and saveLocation with navigate, after Spine's API.
2011-07-01 13:02:23 -04:00
Jeremy Ashkenas
af674c98c5
almost to 0.5.0...
2011-07-01 12:36:11 -04:00
Jeremy Ashkenas
ddf1a833ab
slightly saner validation on initialize.
2011-07-01 11:49:19 -04:00
braddunbar
c4872c433b
add 'contains' alias for 'include'
2011-06-30 16:59:18 -04:00
Jeremy Ashkenas
b5112b40a3
Merge pull request #414 from niallsmart/master
...
Fix for issue #413 - collection.add should fail for duplicates
2011-06-29 19:15:08 -07:00
Jeremy Ashkenas
77caaed5d0
#426 , better error message when events are missing.
2011-06-29 21:32:58 -04:00
Jeremy Ashkenas
07f753be2f
Merge pull request #435 from threepointone/patch-1
...
Allow initialize on any class to pass on original arguments.
2011-06-29 18:08:13 -07:00
Jeremy Ashkenas
fa6092be79
fixing comment.
2011-06-29 21:03:27 -04:00
Gavin Huang
4e9037b018
Model is no longer considered to be new if its id is a falsey value
2011-06-23 16:09:41 +08:00
threepointone
3eb075a240
Allow initialize on any class to pass on original arguments.
2011-06-21 02:09:15 -07:00
Niall Smart
0853866aab
Collection.add should fail if duplicate id/cid exists
2011-06-13 18:11:04 -07:00
Jeremy Ashkenas
ff57b6536d
ouch, leaking global attrs. (shakes fist)
2011-05-27 12:17:10 -04:00
Jeremy Ashkenas
e01ad9dd5b
Merging in #232 . Allow destroy() to be called on non-persisted objects ... just in case.
2011-05-27 11:30:48 -04:00
Jeremy Ashkenas
87a81e43e2
partial issue #239 , always pass options to error callbacks / events.
2011-05-27 10:58:40 -04:00
Jeremy Ashkenas
9accf97e9e
Issue #246 -- never fire nested change events for the same model. The top-level one will do.
2011-05-27 10:29:14 -04:00
Jeremy Ashkenas
fb8da91e3e
merging in #336 .
2011-05-26 15:49:16 -04:00
Paul Uithol
d7e3d5bf4a
Updated to apply on the 0.5.0 branch
2011-05-26 21:34:09 +02:00
Jeremy Ashkenas
f7602a3050
Merge branch 'patch-1' of https://github.com/damienholzapfel/backbone into 0.5.0
2011-05-26 15:08:24 -04:00
Jeremy Ashkenas
c66650ab90
Merge branch 'master' of https://github.com/corbanbrook/backbone into 0.5.0
2011-05-26 14:54:18 -04:00
Jeremy Ashkenas
082cb28b29
Merge branch 'master' of https://github.com/reconbot/backbone into 0.5.0
2011-05-26 14:52:41 -04:00