Matt
|
57194beffa
|
Fix recursion error when saving from within a change event.
|
2010-11-22 20:49:33 -08:00 |
|
Jeremy Ashkenas
|
f3e961da08
|
Issue #80. Adding default attributes to Backbone.Model
|
2010-11-22 14:22:21 -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
|
be37cf0178
|
passing silent: true now suppresses validations. Issue #52
|
2010-11-08 15:21:54 -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
|
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 |
|
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
|
e7ce57cc1d
|
Adding the beginnings of a speed suite to the Test page.
|
2010-10-14 14:46:53 -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
|
8e7405e17a
|
updating rest tests.
|
2010-10-12 16:01:14 -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
|
cc48c76485
|
Backbone.Bindable -> Backbone.Events
|
2010-10-07 11:24:44 -04:00 |
|
Jeremy Ashkenas
|
ed1871cbfe
|
first draft of basic validations
|
2010-10-07 09:33:50 -04:00 |
|
Jeremy Ashkenas
|
9bdefd0273
|
started working on the index page, copied from Jammit
|
2010-10-06 17:41:10 -04:00 |
|
Jeremy Ashkenas
|
80acf9484d
|
more tests, returning 'this', when performing side effects on collections
|
2010-10-06 13:36:28 -04:00 |
|
Jeremy Ashkenas
|
16149c7c37
|
Wrapped up the model tests.
|
2010-10-06 12:23:22 -04:00 |
|
Jeremy Ashkenas
|
71969d367b
|
linting the remainder of the tests.
|
2010-10-06 11:35:14 -04:00 |
|
Joe Germuska
|
573d491f8d
|
fix bug in 'add' and 'refresh'
|
2010-10-02 17:16:17 -05:00 |
|
Joe Germuska
|
21b66380dd
|
more tests
|
2010-10-02 16:19:57 -05:00 |
|
Joe Germuska
|
d66f2ed161
|
some more tests
|
2010-10-02 15:58:26 -05:00 |
|