Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2: Can of Promises #3729

Open
wants to merge 22 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
bfa268c
sync returns a Promise
au-phiware Jul 21, 2015
e9f019e
Play nice with callbacks.
au-phiware Jul 21, 2015
ecb606f
Any constructor or may provide a Promise.
au-phiware Jul 22, 2015
91227ee
Merge branch 'master' of https://github.com/jashkenas/backbone
au-phiware Jul 22, 2015
9adf677
Router#execute may provide a Promise or trigger an error.
au-phiware Jul 22, 2015
5b39cf9
Permit routers to store metadata in History's handlers.
au-phiware Jul 22, 2015
bdaa11b
Merge branch 'master' of https://github.com/jashkenas/backbone
au-phiware Jul 24, 2015
ca27d88
Avoid conflict with potential reserved word.
au-phiware Jul 26, 2015
53e9555
Don't assume `Promise` is a global.
au-phiware Jul 26, 2015
0d4fe5b
Relax the definition of a `Promise`.
au-phiware Jul 26, 2015
0bee4c0
Reject with an error when the error is known.
au-phiware Jul 26, 2015
403bc44
Event listener errors are handled by the caller of save, fetch, destroy.
au-phiware Jul 26, 2015
fb45026
Fix typo
au-phiware Jul 26, 2015
820dd25
Depend on promise.js.
au-phiware Jul 26, 2015
509adab
Don't prescribe Promise implementation and fallback to global.
au-phiware Jul 27, 2015
747ffaa
Clarify the extent of the use of Promises.
au-phiware Jul 27, 2015
7eddccd
Revert "Any constructor or may provide a Promise."
au-phiware Jul 27, 2015
2e8c79c
Remove my 'mission statement'.
au-phiware Jul 27, 2015
0833ee7
Model#save rejects with validationError that is created by Model#set.
au-phiware Jul 27, 2015
44bec7b
Omit Promise from UMD wrapper.
au-phiware Jul 27, 2015
667f81d
Return callback result for correct event propagation.
au-phiware Jul 27, 2015
21ab2ee
Merge branch 'master' of https://github.com/jashkenas/backbone
au-phiware Aug 8, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

Backbone supplies structure to JavaScript-heavy applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing application over a RESTful JSON interface.

The author of this fork takes the view that Backbone should use `Promise`s *wherever possible*. This means moving away from callbacks and any method that might be overridden may return a Promise.

For Docs, License, Tests, pre-packed downloads, and everything else, really, see:
http://backbonejs.org

Expand Down
Loading