codebrew / backbone-rails

Easily use backbone.js with rails 3.1
MIT License
1.62k stars 255 forks source link

Save original Backbone.sync implementation #109

Closed robamaton closed 10 years ago

robamaton commented 12 years ago

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 commented 12 years ago

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 commented 11 years ago

Looks like #140 is a better solution?

westonplatter commented 10 years ago

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

manusajith commented 10 years ago

@westonplatter ya. @robamaton Thanks for the PR.