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
|
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
|
9a74dbc9c3
|
Make protoProps optional, when inheriting.
|
2010-11-06 09:48:56 -04:00 |
|
Jeremy Ashkenas
|
65c52763d3
|
fixing more model.collection in initialize.
|
2010-11-04 23:52:21 -04:00 |
|
Jeremy Ashkenas
|
ece51d2383
|
Allowing a collection to be passed into a model via the options.
|
2010-11-04 23:45:48 -04:00 |
|
Raimonds Simanovskis
|
771b87f17c
|
added options argument to Backbone.Model initialize function
|
2010-11-03 18:28:40 +02:00 |
|
Jeremy Ashkenas
|
d651d82e92
|
don't send any data up, if you're not sending any data up ... fixes destroy.
|
2010-11-02 13:48:10 -04:00 |
|
Jeremy Ashkenas
|
2d4ebd0271
|
Merging Issue #46. Use full JSON requests, falling back to encoded forms with emulateHttp.
|
2010-11-01 13:54:07 -04:00 |
|
Jeremy Ashkenas
|
77b15e5916
|
Merge branch 'master' of http://github.com/mrjjwright/backbone
|
2010-11-01 13:25:37 -04:00 |
|
Jeremy Ashkenas
|
b4d573c943
|
Merging in Chris Lloyd's Model#clear. Making validations run, if defined, on Model#clear and Model#unset
|
2010-11-01 11:43:05 -04:00 |
|
Jeremy Ashkenas
|
f0ecfcd279
|
Issue #44 -- Model#set, empty string vs null.
|
2010-11-01 10:26:44 -04:00 |
|
John Wright
|
6c972695db
|
Default behavior for Backbone.sync is now to send everything as application/json. Emulating http and sending data as form url-encoded can be turned on with Backbone.emulateHttp
|
2010-10-29 10:47:59 -06:00 |
|
John Wright
|
302c0d5cee
|
Added Backbone.emulateJSON to enable the current behavior of syncing and made sending the body as application/json without a wrapping model param, the default
|
2010-10-28 20:21:59 -06:00 |
|
Jeremy Ashkenas
|
1d57168c8f
|
Adding one line to Backbone.js to provide seamless CoffeeScript integration (inheritance from Backbone.Model, View, Collection) + tests
|
2010-10-27 09:17:38 -04:00 |
|
Jeremy Ashkenas
|
cc744682dd
|
Reworking the localStorage plugin.
|
2010-10-26 10:12:49 -04:00 |
|
Jeremy Ashkenas
|
6efd643e14
|
simplifying localStorage interface a bit.
|
2010-10-25 16:40:09 -04:00 |
|
Jeremy Ashkenas
|
3a47769a7e
|
Nice improvements to the rendering ... more templates, less javascript.
|
2010-10-25 15:33:33 -04:00 |
|
Jeremy Ashkenas
|
092131db0a
|
A little further on.
|
2010-10-25 14:58:22 -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
|
f3a8dcd16b
|
Merging in Collection#toJSON
|
2010-10-20 16:01:56 -04:00 |
|
Jeremy Ashkenas
|
089fd5c1a2
|
Adding a test for Issue #33
|
2010-10-20 14:43:31 -04:00 |
|
Jeremy Ashkenas
|
8282270d56
|
Starting to move to templates for the todo example.
|
2010-10-19 16:42:35 -04:00 |
|
Jeremy Ashkenas
|
a895bbb098
|
fixing chain() test.
|
2010-10-19 15:50:02 -04:00 |
|
Nick Fitzgerald
|
8d7eff8cd2
|
Adding chain() to the Collection prototype
|
2010-10-19 15:48:59 -04:00 |
|
Jeremy Ashkenas
|
14d818677f
|
Merge branch 'master' into demos
|
2010-10-19 14:57:06 -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
|
17d64e0a51
|
Adding Backbone.Model#fetch
|
2010-10-18 21:31:27 -04: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
|
0f3c524a3a
|
beginnings of a different demo.
|
2010-10-16 17:28:19 -04:00 |
|
Jeremy Ashkenas
|
7b10698af6
|
making the speed test labels fit on the graph
|
2010-10-15 09:57:31 -04: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
|
831090329f
|
Issue #8 -- a number of improvements to the documentation.
|
2010-10-14 10:29:18 -04:00 |
|
Jeremy Ashkenas
|
091e266077
|
Adding basic tests for initialize.
|
2010-10-13 17:33:20 -04:00 |
|
Jeremy Ashkenas
|
f09e791402
|
removing toString
|
2010-10-13 11:04:44 -04:00 |
|
Jeremy Ashkenas
|
317c99be10
|
attributes is now a public property, uncloned. documenting comparator, and more.
|
2010-10-13 00:37:02 -04:00 |
|
Jeremy Ashkenas
|
15b2ec81e8
|
handleEvents API tweaks
|
2010-10-12 16:47:56 -04:00 |
|
Jeremy Ashkenas
|
d8308f9712
|
added view tests
|
2010-10-12 16:19:02 -04:00 |
|
Jeremy Ashkenas
|
8e7405e17a
|
updating rest tests.
|
2010-10-12 16:01:14 -04:00 |
|
Jeremy Ashkenas
|
727c299695
|
first draft of docs is done.
|
2010-10-12 15:58:40 -04:00 |
|
Jeremy Ashkenas
|
21dfb55072
|
axed setMode. setCallbacks -> bindCallbacks
|
2010-10-12 15:41:42 -04:00 |
|
Jeremy Ashkenas
|
11c6ebb7fc
|
add, remove, get, getbycid, at
|
2010-10-12 13:52:59 -04:00 |
|
Jeremy Ashkenas
|
66fb51ca36
|
down at the bottom of the model docco
|
2010-10-12 11:47:57 -04:00 |
|
Jeremy Ashkenas
|
c14dde7c20
|
removing Backbone.Model#isEqual
|
2010-10-12 11:01:38 -04:00 |
|
Jeremy Ashkenas
|
cbbba479ea
|
...
|
2010-10-12 09:59:15 -04:00 |
|
Jeremy Ashkenas
|
eb5a89f17f
|
Up to attributes
|
2010-10-12 09:28:27 -04:00 |
|