93 Commits

Author SHA1 Message Date
Jeremy Ashkenas
d66f9208b9 validate 2010-10-12 10:28:12 -04:00
Jeremy Ashkenas
cbbba479ea ... 2010-10-12 09:59:15 -04:00
Jeff Larson
6b55bd8359 typo 2010-10-07 19:42:47 -04:00
Jeremy Ashkenas
db2610e77c moving along with the documentation 2010-10-07 17:40:19 -04:00
Jeremy Ashkenas
ad73393f40 A real start on the documentation ... intro is done-ish. 2010-10-07 12:54:56 -04:00
Jeremy Ashkenas
cc48c76485 Backbone.Bindable -> Backbone.Events 2010-10-07 11:24:44 -04:00
Jeremy Ashkenas
626f7d2cfa removing todo 2010-10-07 10:29:47 -04:00
Jeremy Ashkenas
da07cedb0f sets can fire 'error' events for all models within, as well. 2010-10-07 10:02:06 -04:00
Jeremy Ashkenas
ed1871cbfe first draft of basic validations 2010-10-07 09:33:50 -04:00
Jeremy Ashkenas
d0e27756f2 Attributes should remain a safe copy. 2010-10-07 09:01:59 -04:00
Jeremy Ashkenas
9bdefd0273 started working on the index page, copied from Jammit 2010-10-06 17:41:10 -04:00
Jeremy Ashkenas
2f4d1ac270 -- 2010-10-06 15:17:07 -04:00
Jeremy Ashkenas
2081bbf331 more comments, more docs 2010-10-06 14:48:01 -04:00
Jeremy Ashkenas
81f82944cf finished commenting Views and Backbone.request -- regenerated docs. 2010-10-06 14:43:24 -04:00
Jeremy Ashkenas
d343aa5fec testing a handful of the underscore methods on collections 2010-10-06 13:52:25 -04:00
Jeremy Ashkenas
655ab7fa1c finished initial round of tests for collection 2010-10-06 13:45:05 -04:00
Jeremy Ashkenas
b1277b9258 defaulting Backbone.Collection#model to be Backbone.Model 2010-10-06 13:41:37 -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
463ce3e62d Making zero numeric ids more possible 2010-10-06 13:29:36 -04:00
Jeremy Ashkenas
6009b8d1ab more tests for collection, 0 is a valid id. 2010-10-06 13:18:32 -04:00
Jeremy Ashkenas
16149c7c37 Wrapped up the model tests. 2010-10-06 12:23:22 -04:00
Jeremy Ashkenas
c63f01ee12 creating a model should set its attribute 2010-10-06 11:28:43 -04:00
Jeremy Ashkenas
3190a5a7f4 Backbone.View option handling tweak. 2010-10-05 16:24:25 -04:00
Jeremy Ashkenas
2ca43eaa5f fleshing out destroy 2010-10-05 15:51:23 -04:00
Jeremy Ashkenas
1074f247cd Adding Backbone.Collection#fetch 2010-10-05 11:58:29 -04:00
Jeremy Ashkenas
8eea2caab2 first working version of create 2010-10-05 10:59:00 -04:00
Jeremy Ashkenas
a29dd5c511 fixing refresh for attributes only 2010-10-04 16:02:39 -04:00
Jeremy Ashkenas
ddd87c0e43 docs 2010-10-04 15:43:47 -04:00
Jeremy Ashkenas
7e86539051 Merge branch 'master' of github.com:documentcloud/backbone 2010-10-04 15:20:17 -04:00
Jeremy Ashkenas
a6293310fd jslint 2010-10-04 15:20:15 -04:00
Joe Germuska
5269a5afc3 Merge branch 'master' of git@github.com:documentcloud/backbone 2010-10-04 10:28:34 -05:00
Joe Germuska
573d491f8d fix bug in 'add' and 'refresh' 2010-10-02 17:16:17 -05:00
Andrew Schaaf
fc58be7348 Merge branch 'master' of github.com:documentcloud/backbone 2010-10-02 17:27:20 -04:00
Andrew Schaaf
44a4d12da8 Model.destroy no longer removes the model from its collection 2010-10-02 17:26:30 -04:00
Andrew Schaaf
ec209f704d refactored Backbone.request out of Model.{save,delete} 2010-10-02 17:25:39 -04:00
Andrew Schaaf
b9b8a902e6 code style tweak 2010-10-02 17:16:05 -04:00
Jeremy Ashkenas
232b0f8ac9 no more generated ids and fixed rake build 2010-10-02 17:00:56 -04:00
Jeremy Ashkenas
61d8ede58f underscore callbacks. 2010-10-02 16:06:31 -04:00
Jeremy Ashkenas
cdf5cc5cfa Merge branch 'master' of github.com:documentcloud/backbone 2010-10-02 16:05:50 -04:00
Jeremy Ashkenas
a7b43b91be remove collection setting 2010-10-02 16:05:49 -04:00
Andrew Schaaf
8b233a0151 fixed typo 2010-10-02 15:14:00 -04:00
Jeremy Ashkenas
6c993eb1be Adding Docco'd source 2010-10-02 13:28:46 -04:00
Jeremy Ashkenas
ef49944afa Initial semi-functional version of backbone. 2010-10-01 17:52:46 -04:00