Save original Backbone.sync implementation #109

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
5 participants
@robamaton

Saves a copy of Backbone.sync to Backbone.originalSync before overriding, although this may not be the proper naming/namespacing. This is necessary when you need to sync with non-rails servers side-by-side with a rails server without having to have those other servers allow rails-specific headers in CORS.

@carpeliam

This comment has been minimized.

Show comment Hide comment
@carpeliam

carpeliam May 9, 2012

This would be useful: we're working primarily with a Rails back-end, but we're also using Backbone to communicate with other restful services outside of Rails.

This would be useful: we're working primarily with a Rails back-end, but we're also using Backbone to communicate with other restful services outside of Rails.

@turadg

This comment has been minimized.

Show comment Hide comment
@turadg

turadg Feb 17, 2013

Looks like #140 is a better solution?

turadg commented Feb 17, 2013

Looks like #140 is a better solution?

@westonplatter

This comment has been minimized.

Show comment Hide comment
@westonplatter

westonplatter Mar 11, 2014

Contributor

Maybe we could close this since #140 changes were added to master. @manusajith thoughts?

Contributor

westonplatter commented Mar 11, 2014

Maybe we could close this since #140 changes were added to master. @manusajith thoughts?

@manusajith

This comment has been minimized.

Show comment Hide comment
@manusajith

manusajith Mar 11, 2014

Collaborator

@westonplatter ya.
@robamaton Thanks for the PR.

Collaborator

manusajith commented Mar 11, 2014

@westonplatter ya.
@robamaton Thanks for the PR.

@manusajith manusajith closed this Mar 11, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment