Commit Graph

948 Commits

Author SHA1 Message Date
Brad Dunbar
82ee97d36b Use null for uninitialized variables. 2012-02-17 07:22:43 -05:00
Brad Dunbar
69b80f5e3a Fixes #959 - Silent changes fire 'change:attr'.
* Silent changes are tracked so `'change:attr'` can be
  fired next time `change` is called.
* Pending changes are tracked to prevent infinite loops
  and accurately reflect nested changes.
2012-02-17 07:22:43 -05:00
Jeremy Ashkenas
e5db1c93d0 Merge pull request #1011 from wookiehangover/issue996
adding test coverage for route precedence as per issue #996
2012-02-15 09:04:30 -08:00
Jeremy Ashkenas
16b37e7349 Merge pull request #1010 from braddunbar/history-start
fixes #1003 - History is started before `navigate`
2012-02-15 07:09:59 -08:00
brad dunbar
cf93180a55 Merge pull request #1004 from peterp/patch-2
Proposed clarification in documentation:
2012-02-15 05:11:41 -08:00
Sam Breed
8d8a3599a9 adding test coverage for route precedence as per issue #996 2012-02-14 23:18:46 -07:00
Brad Dunbar
232c888038 fixes #1003 - History is started before navigate 2012-02-15 00:39:38 -05:00
Peter Pistorius
c4d53abd06 fixes #1004 2012-02-14 22:58:45 +02:00
Peter Pistorius
742dde3469 Changed:
`Accounts.reset(<%= ... %>)` to `accounts.reset(<%= ... %>)`
`Projects.reset(<%= ... %>)` to `projects.reset(<%= ... %>)`

As it's popular in JavaScript to capitalize constructors it might be confusing in this context.
2012-02-14 22:57:22 +02:00
Jeremy Ashkenas
04e2e20299 Merge pull request #1008 from braddunbar/missing-callback
`on` is a noop if no callback is provided
2012-02-14 12:29:38 -08:00
Brad Dunbar
8b285c6c83 on is a noop if no callback is provided 2012-02-14 15:22:27 -05:00
Jeremy Ashkenas
b9e36f0f15 Merge pull request #1006 from bmaland/docs
Fix signature of urlRoot in documentation
2012-02-14 11:20:00 -08:00
Bjørn Arild Mæland
c2a0895787 Fix signature of urlRoot in documentation 2012-02-14 18:45:47 +01:00
brad dunbar
1406ef1c28 Merge pull request #1001 from vertigem/feature/qunit-toolbar
added qunit toolbar
2012-02-14 05:44:24 -08:00
Duke
63188db42b added qunit toolbar 2012-02-13 22:12:15 -02:00
Jeremy Ashkenas
a603e5a843 resolving merge with master. 2012-02-13 14:41:46 -05:00
Jeremy Ashkenas
18fba57724 Much asked-for change. Instead of throwing an early error when adding duplicate models, Backbone will simply skip them instead. 2012-02-13 14:39:36 -05:00
Jeremy Ashkenas
af4fdb3dc9 Merge pull request #994 from OttoAllmendinger/master
cosmetic fix for index.html
2012-02-13 08:37:28 -08:00
Otto Allmendinger
e0b2449610 unify dashes in index.html
use en-dash (U+2013) instead of hyphen-minus (U+002D) in index.html
navigation
2012-02-13 17:29:47 +01:00
Ted Han
3d9d8348ee Adding sidebar items for github repo and annotated source, as well as a reference to Backbone's license file to documentation. 2012-02-11 11:40:27 -06:00
brad dunbar
178ae27a9f Merge pull request #985 from peterp/patch-1
`sort` and `sortBy` are incorrectly swopped in collection.comparator docs
2012-02-10 05:23:51 -08:00
Peter Pistorius
417bcb9720 Fixes #984 2012-02-10 15:12:17 +02:00
brad dunbar
b3aed20119 Merge pull request #980 from vovik/new-master
fixes #972 by cleaning up a messy conditional
2012-02-09 05:57:02 -08:00
vlad
3761d28188 fixes #972 by cleaning up a messy conditional 2012-02-08 17:05:38 -08:00
Jeremy Ashkenas
b1e2e69977 moving picklive up, removing bittorrent from the examples... 2012-02-08 17:13:54 -05:00
Tim Ruffles
639ce1aec3 added picklive's game client as an example app 2012-02-08 17:11:55 -05:00
Jeremy Ashkenas
2a92f71dcc Merge branch 'master' of github.com:documentcloud/backbone 2012-02-08 16:59:11 -05:00
Jeremy Ashkenas
e3ac6f8eaa Adding Collection#push, pop, shift, and unshift to the API, returning references to the model. Fixing a too-unescaped regex. 2012-02-08 16:58:37 -05:00
brad dunbar
be937ffad5 Merge pull request #968 from StanAngeloff/patch-1
Tiny spelling error, no functional changes.
2012-02-07 05:13:24 -08:00
Stan Angeloff
b993441e5e Tiny spelling error, no functional changes. 2012-02-07 14:09:48 +02:00
Jeremy Ashkenas
501799e3b6 Merge pull request #965 from braddunbar/collection-get
fixes #964 - collection.get has consistent return
2012-02-06 14:08:09 -08:00
Brad Dunbar
522e090831 fixes #964 - collection.get has consistent return 2012-02-06 16:45:06 -05:00
Jeremy Ashkenas
b86cfebdb1 more documentation on upgrading and change events. 2012-02-06 09:47:34 -05:00
Jeremy Ashkenas
2eb9c5054c removing old trajectory link. 2012-02-03 10:29:03 -05:00
Jeremy Ashkenas
8256cdf268 Merge pull request #947 from braddunbar/upgrade-notes
fixes #946 - documentation for changes to `set`
2012-02-03 07:22:16 -08:00
Jeremy Ashkenas
2e40b495d2 Merge pull request #941 from braddunbar/test-933-908
Add tests for #908, #933.
2012-02-03 07:21:17 -08:00
Brad Dunbar
3ef9c3a5fc Add tests for #908, #933. 2012-02-03 10:17:45 -05:00
Jeremy Ashkenas
db97d9933a Merge pull request #942 from braddunbar/wraperror
Add tests for #906.
2012-02-03 07:12:57 -08:00
Brad Dunbar
f63b5f5d43 fixes #946 - documentation for changes to set 2012-02-03 08:54:01 -05:00
Jeremy Ashkenas
b8001f9b89 Merge branch 'master' of github.com:documentcloud/backbone 2012-02-03 08:22:05 -05:00
Jeremy Ashkenas
dfeea84632 Adding the Khan Academy as an example app. 2012-02-03 08:21:48 -05:00
Brad Dunbar
1d921d690a Add tests for #906. 2012-02-02 20:26:41 -05:00
Jeremy Ashkenas
65fa4f4577 Merge pull request #940 from braddunbar/test-refactor
Refactor some tests.
2012-02-02 16:45:30 -08:00
Brad Dunbar
954da679ed Refactor some tests.
* Use object for lastRequest to prevent errors.
* Ensure setDOMLibrary tests are cleaned up.
2012-02-02 19:36:50 -05:00
Jeremy Ashkenas
ec7e422d5e fixing typo in Wunderkit description 2012-02-02 17:42:16 -05:00
Jeremy Ashkenas
0afae7cf23 Adding Wunderkit as an example app. 2012-02-02 17:31:02 -05:00
Jeremy Ashkenas
a865aa41f1 removing obsolete error case. 2012-02-02 17:15:28 -05:00
Jeremy Ashkenas
7c10181c64 editing the intro 2012-02-02 17:10:10 -05:00
Jeremy Ashkenas
9e3236d219 fixing changelog typo 2012-02-02 17:02:28 -05:00
Jeremy Ashkenas
655bd05bc3 Backbone.js 0.9.1 0.9.1 2012-02-02 16:55:12 -05:00