Explorar o código

fixed computed property and local db initialization

Isaac Odhiambo %!s(int64=7) %!d(string=hai) anos
pai
achega
64b16edf17
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      README.md

+ 3 - 3
README.md

@@ -16,11 +16,11 @@ var app = new Vue({
   el: "#app",
   pouchdb: {
     uber: {
-      localdb: "uber",
+      localDB: "uber",
       remoteURL: "http://127.0.0.1:5984/uber"
     }
   },
-  computed () {
+  computed: {
     drivers () {
       return this.uber.drivers
     },
@@ -58,4 +58,4 @@ this.$pouchdbRefs.uber.update(/*your data*/)
     <li v-for="driver in drivers">{{driver.name}}</li>
   </ul>
 </div>
-```
+```