From d72b53ae8cce37128035086089b453fe642237a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 11 Apr 2016 22:02:42 +0200 Subject: [PATCH] fixed typos in README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9d0135d0..660df7f3 100644 --- a/README.md +++ b/README.md @@ -83,9 +83,9 @@ vm.$bindAsArray('items', myFirebaseRef.child('items').limitToLast(25)) ### Array Bindings -Each record in the bound array will contain a `_key` property which specifies the key where the record is stored. So if you have data at `/items/-Jtjl482BaXBCI7brMT8/`, the record for that data will have a `_key` of `"-Jtjl482BaXBCI7brMT8"`. +Each record in the bound array will contain a `.key` property which specifies the key where the record is stored. So if you have data at `/items/-Jtjl482BaXBCI7brMT8/`, the record for that data will have a `.key` of `"-Jtjl482BaXBCI7brMT8"`. -If an individual record's value in the database is a primitive (boolean, string, or number), the value will be stored in the `_value` property. If the individual record's value is an object, each of the object's properties will be stored as properties of the bound record. As an example, let's assume the `/items/` node you bind to contains the following data: +If an individual record's value in the database is a primitive (boolean, string, or number), the value will be stored in the `.value` property. If the individual record's value is an object, each of the object's properties will be stored as properties of the bound record. As an example, let's assume the `/items/` node you bind to contains the following data: ``` json { @@ -115,7 +115,7 @@ The resulting bound array stored in `vm.items` will be: }, { ".key": "-JtjlAXoQ3VAoNiJcka9", - "_value": "foo" + ".value": "foo" } ] ```