From d39759fe04ff663c6c0cd328f70000aee20b704e Mon Sep 17 00:00:00 2001 From: jwngr Date: Wed, 25 May 2016 16:36:50 -0700 Subject: [PATCH] Fixed some docs typos and updated examples Firebase project --- docs/quickstart.md | 2 +- docs/reference.md | 2 +- examples/commentsBox/js/app.js | 7 +++---- examples/todoApp/.firebaserc | 5 +++++ examples/todoApp/firebase.json | 10 ++++++++-- examples/todoApp/index.html | 7 +++---- 6 files changed, 21 insertions(+), 12 deletions(-) create mode 100644 examples/todoApp/.firebaserc diff --git a/docs/quickstart.md b/docs/quickstart.md index 0f42c501..4cb29bd9 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -112,4 +112,4 @@ example, if we no longer want `this.state.items` to be bound to node, we can cal This was just a quick run through of the basics of ReactFire. For a more in-depth explanation of how to use ReactFire, [check out the ReactFire guide](guide.md) or dig right into the -[ReactFire APIreference](reference.md). +[ReactFire API reference](reference.md). diff --git a/docs/reference.md b/docs/reference.md index 1f494dd2..f192c9fe 100644 --- a/docs/reference.md +++ b/docs/reference.md @@ -1,4 +1,4 @@ -# API Reference | GeoFire +# API Reference | ReactFire ## Table of Contents diff --git a/examples/commentsBox/js/app.js b/examples/commentsBox/js/app.js index 74a3a7a8..8fdb4d51 100644 --- a/examples/commentsBox/js/app.js +++ b/examples/commentsBox/js/app.js @@ -1,8 +1,7 @@ var config = { - apiKey: 'AIzaSyD6NMVI9vCk3-VzXY5k_mRLSZS8waWZFjA', - authDomain: 'reactfire-bbede.firebaseapp.com', - databaseURL: 'https://reactfire-bbede.firebaseio.com', - storageBucket: 'reactfire-bbede.appspot.com', + apiKey: "AIzaSyCdxGmqWURL8YUfGPK3OVANsyvsE0cHV5s", + authDomain: "reactfiretodoapp.firebaseapp.com", + databaseURL: "https://reactfiretodoapp.firebaseio.com" }; firebase.initializeApp(config); diff --git a/examples/todoApp/.firebaserc b/examples/todoApp/.firebaserc new file mode 100644 index 00000000..b6374b64 --- /dev/null +++ b/examples/todoApp/.firebaserc @@ -0,0 +1,5 @@ +{ + "projects": { + "default": "reactfiretodoapp" + } +} diff --git a/examples/todoApp/firebase.json b/examples/todoApp/firebase.json index 778ac70e..c9bd4946 100644 --- a/examples/todoApp/firebase.json +++ b/examples/todoApp/firebase.json @@ -1,4 +1,10 @@ { - "firebase": "reactfiretodoapp", - "public": "." + "hosting": { + "public": ".", + "ignore": [ + "firebase.json", + "**/.*", + "**/node_modules/**" + ] + } } diff --git a/examples/todoApp/index.html b/examples/todoApp/index.html index 7ecb0c2b..57bed458 100644 --- a/examples/todoApp/index.html +++ b/examples/todoApp/index.html @@ -19,10 +19,9 @@