Jeremy Ashkenas
|
9d28018960
|
Backbone 0.2.0
|
2010-10-25 11:46:53 -04:00 |
|
Jeremy Ashkenas
|
6e7894d8fa
|
Streamlined event delegation from models through collections. Added documentation for 0.2.0 enhancements.
|
2010-10-25 11:23:04 -04:00 |
|
Jeremy Ashkenas
|
a7195a975d
|
Issue #28 -- handleEvents -> delegateEvents, which is now called in the constructor.
|
2010-10-25 10:51:23 -04:00 |
|
Jeremy Ashkenas
|
a9de05eb44
|
Switching from assumed 'model' and 'models' namespacing to an overridable 'parse' method on models and collections.
|
2010-10-25 10:28:10 -04:00 |
|
Jeremy Ashkenas
|
f3a8dcd16b
|
Merging in Collection#toJSON
|
2010-10-20 16:01:56 -04:00 |
|
Jeremy Ashkenas
|
c957ec0888
|
Merge branch 'master' of http://github.com/bunchesofdonald/backbone
|
2010-10-20 15:53:23 -04:00 |
|
Chris Pickett
|
89e7e6767f
|
Added Backbone.Collection.toJSON. Returns array of model's toJSON
|
2010-10-20 15:28:47 -04:00 |
|
Jeremy Ashkenas
|
931338ea14
|
Fixing Collection#create success callback, passing the model parameter through.
|
2010-10-20 14:57:40 -04:00 |
|
Jeremy Ashkenas
|
705aff58a3
|
Issue #33. Refactor towards View#_ensureElement
|
2010-10-20 14:41:50 -04:00 |
|
Nick Fitzgerald
|
8d7eff8cd2
|
Adding chain() to the Collection prototype
|
2010-10-19 15:48:59 -04:00 |
|
Jeremy Ashkenas
|
f0f7c8d5e3
|
Adding an error when URLs are left unspecified, and highlighting the importance of the URL property in the docs for persistence to work.
|
2010-10-19 10:47:40 -04:00 |
|
Jeremy Ashkenas
|
a09bcbca9d
|
error events are now always passed the model as the first argument. You may now also pass an error callback to set() and save(), if the callback is passed, it will be called instead of the 'error' event getting fired.
|
2010-10-19 10:13:50 -04:00 |
|
Jeremy Ashkenas
|
b854b28d18
|
additional documentation ... getting ready for 0.1.2
|
2010-10-19 09:41:50 -04:00 |
|
Jeremy Ashkenas
|
17d64e0a51
|
Adding Backbone.Model#fetch
|
2010-10-18 21:31:27 -04:00 |
|
Jeremy Ashkenas
|
2b539572a0
|
Passing JavaScriptLint. Added 'rake lint' task.
|
2010-10-18 21:05:48 -04:00 |
|
Nick Fitzgerald
|
83f4748d8c
|
Adding a missing var declaration inside handleEvents
|
2010-10-17 18:24:01 -07:00 |
|
Jeremy Ashkenas
|
7721f8481c
|
adding Backbone.emulateHttp for frameworks that don't support HTTP. Issue #11
|
2010-10-17 10:53:40 -04:00 |
|
Jeremy Ashkenas
|
6899988224
|
Only send the model on create and update... It's better for destroy not to bother with it.
|
2010-10-17 10:17:36 -04:00 |
|
Jeremy Ashkenas
|
5c5b7a8824
|
Don't send up model data for GET requests by default, for folks who are re-fetching existing collections.
|
2010-10-16 16:05:49 -04:00 |
|
Hans Oksendahl
|
196626931e
|
fixed indentation
|
2010-10-14 17:32:23 -07:00 |
|
Hans Oksendahl
|
08030e431e
|
fixed indentation
|
2010-10-14 17:30:43 -07:00 |
|
Hans Oksendahl
|
7f4a1bb178
|
Added the _method hack from Sinatra for better coverage of PUT and DELETE for non-spec HTTP servers.
|
2010-10-14 17:28:33 -07:00 |
|
Jeremy Ashkenas
|
500d66bd58
|
a handful of model speed tests.
|
2010-10-14 15:11:56 -04:00 |
|
Jeremy Ashkenas
|
e7ce57cc1d
|
Adding the beginnings of a speed suite to the Test page.
|
2010-10-14 14:46:53 -04:00 |
|
Jeremy Ashkenas
|
3560062c11
|
removing redundant assignment in Events#trigger
|
2010-10-14 13:49:01 -04:00 |
|
Jeremy Ashkenas
|
2ae60985ee
|
Moving all helper functions down to the bottom.
|
2010-10-14 13:34:00 -04:00 |
|
Jeremy Ashkenas
|
9c535ca5a5
|
expand inherits helper child constructor creation, for clarity.
|
2010-10-14 13:31:19 -04:00 |
|
Jeremy Ashkenas
|
7c901e2245
|
Slightly shallower namespaced export for CommonJS.
|
2010-10-14 13:15:25 -04:00 |
|
Jeremy Ashkenas
|
82365e392e
|
internal Collection#_add and Collection#_remove, should return the model, in case they're overridden.
|
2010-10-14 13:04:11 -04:00 |
|
Jeremy Ashkenas
|
09e20c1599
|
Documenting a collection's 'model' property
|
2010-10-14 10:46:11 -04:00 |
|
Jeremy Ashkenas
|
831090329f
|
Issue #8 -- a number of improvements to the documentation.
|
2010-10-14 10:29:18 -04:00 |
|
Jeremy Ashkenas
|
eb9f54c8fe
|
willbailey's patch to use getByCid for internal lookups ... much safer.
|
2010-10-14 07:36:11 -04:00 |
|
Jeremy Ashkenas
|
184687b28f
|
Backbone 0.1.1
|
2010-10-13 22:46:39 -04:00 |
|
Jeremy Ashkenas
|
8878c2236a
|
View#_reset -> View#_configure
|
2010-10-13 22:42:49 -04:00 |
|
Jeremy Ashkenas
|
aa35cb6414
|
less cryptic method of safely referencing jQuery.
|
2010-10-13 22:15:12 -04:00 |
|
Jeremy Ashkenas
|
544a7e7d9b
|
Merge branch 'grayrest' of http://github.com/grayrest/backbone
|
2010-10-13 22:13:07 -04:00 |
|
Jeff Larson
|
13932d0d14
|
small typo
|
2010-10-13 18:10:10 -04:00 |
|
Jeremy Ashkenas
|
63085b6ccd
|
Calling 'initialize', if it is defined.
|
2010-10-13 17:30:12 -04:00 |
|
Jeremy Ashkenas
|
e0b61034df
|
internal _initialize to _reset
|
2010-10-13 17:25:04 -04:00 |
|
Karl Guertin
|
2748c43fa7
|
$ doesn't always belong to jQuery
|
2010-10-13 17:16:39 -04:00 |
|
Jeremy Ashkenas
|
8d5343d26c
|
merged
|
2010-10-13 11:05:16 -04:00 |
|
Jeremy Ashkenas
|
f09e791402
|
removing toString
|
2010-10-13 11:04:44 -04:00 |
|
Jeff Larson
|
f6de01ec2d
|
Merge branch 'master' of github.com:documentcloud/backbone
|
2010-10-13 10:59:26 -04:00 |
|
Jeff Larson
|
3cb5b34ca5
|
code highlighting
|
2010-10-13 10:59:15 -04:00 |
|
Jeremy Ashkenas
|
53ac621fd4
|
Documenting constructor options.
|
2010-10-13 10:55:08 -04:00 |
|
Jeff Larson
|
8109a6bbb5
|
Merge branch 'master' of github.com:documentcloud/backbone
|
2010-10-13 10:52:28 -04:00 |
|
Jeff Larson
|
e9c0c86b61
|
typo
|
2010-10-13 10:52:24 -04:00 |
|
Jeremy Ashkenas
|
ae693afe08
|
making events forgiving of non-selectors...
|
2010-10-13 10:16:07 -04:00 |
|
Jeremy Ashkenas
|
3a90caeb64
|
more annotated comments, adding length to the docs.
|
2010-10-13 09:36:15 -04:00 |
|
Jeremy Ashkenas
|
a2b924cb8c
|
Lots of edits -- running well under Node.js
|
2010-10-13 08:52:11 -04:00 |
|