Skip to content
This repository was archived by the owner on Aug 25, 2018. It is now read-only.

Conversation

davideast
Copy link
Contributor

Prior to the 0.4 release a new Backbone.Mode could be created with a firebase attribute.

var Todo = Backbone.Model.extend({
   firebase: 'https://<your-firebase>.firebaseio.com/'
});

This behavior is being removed in the 0.4 release. The reasoning behind this decision was due to the confusion of the separate components: Backbone.Firebase.Model and Backbone.Model.extend({ firebase: ''});

Going forward all of the functionality BackFire provides will be in the Backbone.Firebase namespace. There will still be an option that allows for data to not automatically be synced. In those cases you will be able to call sync(), save(), fetch(), and etc...

This will leave the core of Backbone untouched, while hopefully reducing confusion.

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.44%) when pulling a2f78c4 on remove-sync-override into 3235f53 on 0.4-release.

katowulf added a commit that referenced this pull request Sep 19, 2014
@katowulf katowulf merged commit 0340c7a into 0.4-release Sep 19, 2014
@davideast davideast deleted the remove-sync-override branch September 19, 2014 03:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants