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

Commit c131438

Browse files
committed
Updated name
1 parent c003761 commit c131438

File tree

10 files changed

+48
-101
lines changed

10 files changed

+48
-101
lines changed

Gruntfile.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ module.exports = function(grunt) {
66
grunt.initConfig({
77
concat: {
88
dist: {
9-
src: ['src/backfire.js'],
10-
dest: 'dist/backfire.js'
9+
src: ['src/backbonefire.js'],
10+
dest: 'dist/backbonefire.js'
1111
}
1212
},
1313

@@ -17,7 +17,7 @@ module.exports = function(grunt) {
1717
},
1818
app : {
1919
files : {
20-
'dist/backfire.min.js' : ['src/backfire.js']
20+
'dist/backbonefire.min.js' : ['src/backbonefire.js']
2121
}
2222
}
2323
},
@@ -44,12 +44,12 @@ module.exports = function(grunt) {
4444
'unused' : true,
4545
'trailing' : true
4646
},
47-
all : ['src/backfire.js']
47+
all : ['src/backbonefire.js']
4848
},
4949

5050
watch : {
5151
scripts : {
52-
files : 'src/backfire.js',
52+
files : 'src/backbonefire.js',
5353
tasks : ['default', 'notify:watch'],
5454
options : {
5555
interrupt : true
@@ -79,8 +79,8 @@ module.exports = function(grunt) {
7979

8080
copy: {
8181
main: {
82-
src: 'src/backfire.js',
83-
dest: 'examples/todos/js/backfire.js',
82+
src: 'src/backbonefire.js',
83+
dest: 'examples/todos/js/backbonefire.js',
8484
},
8585
},
8686

README.md

+23-23
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# BackFire
1+
# BackboneFire
22

3-
[![Build Status](https://travis-ci.org/firebase/backfire.svg?branch=master)](https://travis-ci.org/firebase/backfire)
4-
[![Version](https://badge.fury.io/gh/firebase%2Fbackfire.svg?branch=master)](http://badge.fury.io/gh/firebase%2Fbackfire)
3+
[![Build Status](https://travis-ci.org/firebase/backbonefire.svg?branch=master)](https://travis-ci.org/firebase/backbonefire)
4+
[![Version](https://badge.fury.io/gh/firebase%2Fbackbonefire.svg?branch=master)](http://badge.fury.io/gh/firebase%2Fbackbonefire)
55

6-
BackFire is the officially supported [Backbone](http://backbonejs.org) binding for Firebase. The bindings let you use special model and collection types that allow for synchronizing data with [Firebase](http://www.firebase.com/?utm_medium=web&utm_source=backfire).
6+
BackboneFire is the officially supported [Backbone](http://backbonejs.org) binding for Firebase. The bindings let you use special model and collection types that allow for synchronizing data with [Firebase](http://www.firebase.com/?utm_medium=web&utm_source=backbonefire).
77

88
## Live Demo
99

10-
Play around with our [realtime Todo App demo](https://backbonefire.firebaseapp.com/). This Todo App is a simple port of the TodoMVC app using Backfire.
10+
Play around with our [realtime Todo App demo](https://backbonefire.firebaseapp.com/). This Todo App is a simple port of the TodoMVC app using BackboneFire.
1111

1212
## Basic Usage
13-
Using BackFire collections and models is very similar to the regular ones in Backbone. To setup with Backfire use `Backbone.Firebase` rather than just `Backbone`.
13+
Using BackboneFire collections and models is very similar to the regular ones in Backbone. To setup with BackboneFire use `Backbone.Firebase` rather than just `Backbone`.
1414

1515
```javascript
1616
// This is a plain old Backbone Model
@@ -28,9 +28,9 @@ var Todos = Backbone.Firebase.Collection.extend({
2828
});
2929
```
3030

31-
## Downloading BackFire
31+
## Downloading BackboneFire
3232

33-
To get started include Firebase and BackFire after the usual Backbone dependencies (jQuery, Underscore, and Backbone).
33+
To get started include Firebase and BackboneFire after the usual Backbone dependencies (jQuery, Underscore, and Backbone).
3434

3535
```html
3636
<!-- jQuery -->
@@ -45,29 +45,29 @@ To get started include Firebase and BackFire after the usual Backbone dependenci
4545
<!-- Firebase -->
4646
<script src="https://cdn.firebase.com/js/client/2.0.3/firebase.js"></script>
4747

48-
<!-- BackFire -->
49-
<script src="https://cdn.firebase.com/libs/backfire/0.5.0/backfire.js"></script>
48+
<!-- BackboneFire -->
49+
<script src="https://cdn.firebase.com/libs/backbonefire/0.5.0/backbonefire.js"></script>
5050
```
5151

52-
Use the URL above to download both the minified and non-minified versions of BackFire from the
52+
Use the URL above to download both the minified and non-minified versions of BackboneFire from the
5353
Firebase CDN. You can also download them from the
54-
[releases page of this GitHub repository](https://github.com/firebase/backfire/releases).
55-
[Firebase](https://www.firebase.com/docs/web/quickstart.html?utm_medium=web&utm_source=backfire) and
54+
[releases page of this GitHub repository](https://github.com/firebase/backbonefire/releases).
55+
[Firebase](https://www.firebase.com/docs/web/quickstart.html?utm_medium=web&utm_source=backbonefire) and
5656
[Backbone](http://backbonejs.org/) can be downloaded directly from their respective websites.
5757

58-
You can also install BackFire via Bower and its dependencies will be downloaded automatically:
58+
You can also install BackboneFire via Bower and its dependencies will be downloaded automatically:
5959

6060
```bash
61-
$ bower install backfire --save
61+
$ bower install backbonefire --save
6262
```
6363

64-
Once you've included BackFire and its dependencies into your project, you will have access to the `Backbone.Firebase.Collection`, and `Backbone.Firebase.Model` objects.
64+
Once you've included BackboneFire and its dependencies into your project, you will have access to the `Backbone.Firebase.Collection`, and `Backbone.Firebase.Model` objects.
6565

6666

6767
## Getting Started with Firebase
6868

69-
BackFire requires Firebase in order to sync data. You can
70-
[sign up here](https://www.firebase.com/signup/?utm_medium=web&utm_source=backfire) for a free
69+
BackboneFire requires Firebase in order to sync data. You can
70+
[sign up here](https://www.firebase.com/signup/?utm_medium=web&utm_source=backbonefire) for a free
7171
account.
7272

7373
## autoSync
@@ -270,21 +270,21 @@ MyTodo.destroy(); // Model is instantly removed from Firebase (and other clients
270270

271271
## Contributing
272272

273-
If you'd like to contribute to BackFire, you'll need to run the following commands to get your
273+
If you'd like to contribute to BackboneFire, you'll need to run the following commands to get your
274274
environment set up:
275275

276276
```bash
277-
$ git clone https://github.com/firebase/backfire.git
278-
$ cd backfire # go to the backfire directory
277+
$ git clone https://github.com/firebase/backbonefire.git
278+
$ cd backbonefire # go to the backbonefire directory
279279
$ npm install -g grunt-cli # globally install grunt task runner
280280
$ npm install -g bower # globally install Bower package manager
281281
$ npm install # install local npm build / test dependencies
282282
$ bower install # install local JavaScript dependencies
283283
$ grunt watch # watch for source file changes
284284
```
285285

286-
`grunt watch` will watch for changes to `src/backfire.js` and lint and minify the source file when a
287-
change occurs. The output files - `backfire.js` and `backfire.min.js` - are written to the `/dist/`
286+
`grunt watch` will watch for changes to `src/backbonefire.js` and lint and minify the source file when a
287+
change occurs. The output files - `backbonefire.js` and `backbonefire.min.js` - are written to the `/dist/`
288288
directory.
289289

290290
You can run the test suite via the command line using `grunt test`.

bower.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"name": "backfire",
2+
"name": "backbonefire",
33
"description": "The officially supported Backbone binding for Firebase",
44
"version": "0.0.0",
55
"authors": [
66
"Firebase <[email protected]> (https://www.firebase.com/)"
77
],
8-
"homepage": "https://github.com/firebase/backfire/",
8+
"homepage": "https://github.com/firebase/backbonefire/",
99
"repository": {
1010
"type": "git",
11-
"url": "https://github.com/firebase/backfire.git"
11+
"url": "https://github.com/firebase/backbonefire.git"
1212
},
1313
"license": "MIT",
1414
"keywords": [
@@ -17,7 +17,7 @@
1717
"realtime"
1818
],
1919
"main": [
20-
"dist/backfire.js"
20+
"dist/backbonefire.js"
2121
],
2222
"ignore": [
2323
"**/.*",

examples/todos/bower.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
2-
"name": "todomvc-backfire",
2+
"name": "todomvc-backbonefire",
33
"version": "0.0.0",
4+
"private": true,
45
"dependencies": {
56
"backbone": "~1.1.0",
67
"underscore": "~1.5.0",

examples/todos/js/collections/todos.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ define([
44
'backbone',
55
'models/todo',
66
'firebase',
7-
'backfire'
7+
'backbonefire'
88
], function (_, Backbone, Todo) {
99
'use strict';
1010

examples/todos/js/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ require.config({
2323
backbone: '../bower_components/backbone/backbone',
2424
text: '../bower_components/requirejs-text/text',
2525
firebase: '../bower_components/firebase/firebase',
26-
backfire: 'backfire'
26+
backbonefire: 'backbonefire'
2727
}
2828
});
2929

index.html

-54
This file was deleted.

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
2-
"name": "backfire",
2+
"name": "backbonefire",
33
"description": "The officially supported Backbone binding for Firebase",
44
"version": "0.0.0",
55
"author": "Firebase <[email protected]> (https://www.firebase.com/)",
6-
"homepage": "https://github.com/firebase/backfire/",
6+
"homepage": "https://github.com/firebase/backbonefire/",
77
"repository": {
88
"type": "git",
9-
"url": "https://github.com/firebase/backfire.git"
9+
"url": "https://github.com/firebase/backbonefire.git"
1010
},
1111
"bugs": {
12-
"url": "https://github.com/firebase/backfire/issues"
12+
"url": "https://github.com/firebase/backbonefire/issues"
1313
},
1414
"licenses": [
1515
{
@@ -22,7 +22,7 @@
2222
"firebase",
2323
"realtime"
2424
],
25-
"main": "dist/backfire.js",
25+
"main": "dist/backbonefire.js",
2626
"files": [
2727
"dist/**",
2828
"LICENSE",

src/backfire.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/*!
2-
* BackFire is the officially supported Backbone binding for Firebase. The
2+
* BackboneFire is the officially supported Backbone binding for Firebase. The
33
* bindings let you use special model and collection types that allow for
44
* synchronizing data with Firebase.
55
*
6-
* BackFire 0.0.0
7-
* https://github.com/firebase/backfire/
6+
* BackboneFire 0.0.0
7+
* https://github.com/firebase/backbonefire/
88
* License: MIT
99
*/
1010

@@ -17,7 +17,7 @@
1717
* A utility for retrieving the key name of a Firebase ref or
1818
* DataSnapshot. This is backwards-compatible with `name()`
1919
* from Firebase 1.x.x and `key()` from Firebase 2.0.0+. Once
20-
* support for Firebase 1.x.x is dropped in BackFire, this
20+
* support for Firebase 1.x.x is dropped in BackboneFire, this
2121
* helper can be removed.
2222
*/
2323
Backbone.Firebase._getKey = function(refOrSnapshot) {

test/karma.conf.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = function(config) {
1111
'../bower_components/backbone/backbone.js',
1212
'../bower_components/mockfirebase/browser/mockfirebase.js',
1313
'fixtures.js',
14-
'../src/backfire.js',
14+
'../src/backbonefire.js',
1515
'./specs/*_test.js'
1616
],
1717

0 commit comments

Comments
 (0)