2230 Commits

Author SHA1 Message Date
Jeremy Ashkenas
0a4399e3de Backbone.js 1.1.0 1.1.0 2013-10-10 21:57:30 -03:00
Jeremy Ashkenas
41f815dbc9 Mild DRY-ing, and fixing logic error. 2013-10-10 21:32:19 -03:00
Jeremy Ashkenas
ac83197b03 Firming up returning models from add and remove, plus tests. 2013-10-10 21:21:59 -03:00
Jeremy Ashkenas
a895d29011 Fixes #2401 – Adds mission statement-ish to introduction in the docs. 2013-10-10 17:22:59 -03:00
Jeremy Ashkenas
d9ac39fa64 Fixes #2428 -- set now returns added or merged models, so does add, so does push, so does unshift. 2013-10-10 17:14:13 -03:00
Jeremy Ashkenas
9c47a78f1a Test for #2666. 2013-10-10 10:18:45 -03:00
Jeremy Ashkenas
ce69368fcc Merge pull request #2783 from caseywebdev/gh-2470
Fix #2470 Do not mutate options in _prepareModel
2013-10-10 06:03:23 -07:00
Jeremy Ashkenas
f627855149 Merge pull request #2795 from akre54/shorter-defaults
Shorter defaults in model ctor
2013-10-10 05:54:02 -07:00
Adam Krebs
cdceabe6c4 shorter defaults in model ctor, shorter extends in history 2013-10-08 10:19:07 -04:00
Casey Foster
5644a5909a Fix #2470 Do not mutate options in _prepareModel 2013-09-25 15:00:56 -05:00
Tim Griesser
f6fa0cb87e Merge pull request #2766 from braddunbar/navigate-hash
Fix #2765 - Strip hash and query for matching.
2013-09-23 06:34:44 -07:00
Jeremy Ashkenas
9d882341d6 Adding ZocDoc as an example app 2013-09-22 15:21:31 -03:00
Casey Foster
30f84f58a5 Fix the set stack overflow case with the at option too 2013-09-19 15:57:53 -05:00
Casey Foster
98356bd85d Style tweaks 2013-09-19 15:53:54 -05:00
Casey Foster
3f2d5655d9 Merge pull request #2768 from jaguardev/master
fix stack overflow exception fired  in Collection.set with large collect...
2013-09-19 13:42:16 -07:00
vlad
b0884cf5e3 fix stack overflow exception fired in Collection.set with large collection (with chrome/nodejs/v8) 2013-09-19 21:37:14 +03:00
Brad Dunbar
f0572b0e51 Fix #2765 - Strip hash and query for matching. 2013-09-19 09:54:57 -04:00
brad dunbar
4107366fa9 Merge pull request #2761 from akre54/no-more-domready
Reduce jQuery dependencies in tests
2013-09-16 09:36:12 -07:00
Adam Krebs
866b84d9a9 remove jQuery-specific selector 2013-09-16 11:01:58 -04:00
Adam Krebs
2bd5df99c5 remove $(document).ready(...) from tests 2013-09-16 10:51:32 -04:00
Tim Griesser
cfe4492863 adding test case for #2612 2013-09-11 20:30:28 -04:00
Jeremy Ashkenas
abcb3cf3ef Removing extra preparemodel calls. 2013-09-11 21:19:37 -03:00
Jeremy Ashkenas
cbbd944fc4 Merge pull request #2755 from tgriesser/idAttr
model.parse may no longer set the idAttribute
2013-09-11 17:14:31 -07:00
Tim Griesser
09e0cb3371 model#parse may no longer set the idAttribute 2013-09-11 20:08:37 -04:00
Jeremy Ashkenas
8810453495 Adding test from #2619 2013-09-11 17:51:10 -03:00
Jeremy Ashkenas
10b0825dbb Fixes #2623 -- make 'invalid' events pass consisent arguments. Error should go second, after the model in question. 2013-09-11 17:44:35 -03:00
Jeremy Ashkenas
c19827019a Fixes #2724, leak with non-specific calls to stopListening. 2013-09-11 15:39:54 -03:00
Jeremy Ashkenas
9e8fca063e Merge branch 'master' of https://github.com/jashkenas/backbone 2013-09-11 15:33:42 -03:00
Jeremy Ashkenas
22ab3ea78a Fixing borked listeners test. #2724 2013-09-11 15:33:37 -03:00
Casey Foster
f9e434f674 _listeners -> _listeningTo in event tests 2013-09-11 13:27:55 -05:00
Jeremy Ashkenas
6e5683f606 Fixes #2629, by removing the no-longer-used sortedIndex 2013-09-11 14:49:23 -03:00
Jeremy Ashkenas
4126a58be6 Fixes #2714. Docs for {collection: c} in Model constructors. 2013-09-11 14:36:31 -03:00
Jeremy Ashkenas
d68e007eb5 Rewording #2716, docs for View#template. 2013-09-11 14:27:39 -03:00
Jeremy Ashkenas
476e76477f Merge pull request #2716 from braddunbar/template-docs
Add docs for the View#template convention.
2013-09-11 10:21:50 -07:00
Jeremy Ashkenas
42370dd80f Test from #2724 for listener cleanup. 2013-09-11 14:20:05 -03:00
Jeremy Ashkenas
2acf58e862 More listen* var name tweaks. 2013-09-11 14:13:52 -03:00
Jeremy Ashkenas
906f64fa11 Merge pull request #2740 from lowkaseo/listeners-rename
Fixing semantics of listeners hash
2013-09-11 10:12:13 -07:00
Jeremy Ashkenas
83d5074036 Merge pull request #2749 from akre54/remove-rakefile
Remove Rakefile in favor of npm scripts
2013-09-09 09:33:48 -07:00
Adam Krebs
42ef5c7825 remove Rakefile in favor of npm scripts 2013-09-09 00:36:11 -04:00
Jeremy Ashkenas
f15b182b03 Merge pull request #2745 from braddunbar/icon
Add favicon to test/index.html
2013-09-07 11:33:03 -07:00
Brad Dunbar
a72700921f Add favicon to test/index.html 2013-09-07 13:44:29 -04:00
Andy Locascio
86170d9488 Fixing semantics of listeners hash 2013-08-30 10:41:02 -04:00
Casey Foster
eca5a96803 Merge pull request #2732 from douglascalhoun/patch-1
(2x) new Collection -> new Backbone.Collection
2013-08-25 10:09:25 -07:00
douglascalhoun
44de0af504 (2x) new Collection -> new Backbone.Collection
Apologies in advance if I've misunderstood this.
2013-08-23 16:11:36 -07:00
Casey Foster
dc0f4cdf42 Merge pull request #2728 from philfreo/patch-1
Fixing travis-ci badge after repo move
2013-08-21 08:05:19 -07:00
Phil Freo
be7862f55b Fixing travis-ci badge after repo move 2013-08-20 22:33:17 -07:00
Brad Dunbar
ace363ca0c Reword according to feedback. 2013-08-11 16:59:57 -04:00
Brad Dunbar
6916d67c4e Remove superfluous sentence. 2013-08-10 10:00:51 -04:00
Brad Dunbar
b6fa46ef1c Grammar, capitalization. 2013-08-09 11:05:15 -04:00
Brad Dunbar
e76646d17a Add docs for the View#template convention. 2013-08-09 09:17:26 -04:00