Skip to content

Commit b7eae4c

Browse files
committed
fix typo
fix typo
1 parent a51d331 commit b7eae4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ new Vue({
4444
userId: 1
4545
},
4646
computed: {
47-
username: {
47+
username () {
4848
// Using vue-resource
4949
return Vue.http.get('/get-username-by-id/' + this.userId)
5050
// This assumes that this endpoint will send us a response
@@ -66,7 +66,7 @@ new Vue({
6666
userId: 1
6767
},
6868
asyncComputed: {
69-
username: {
69+
username () {
7070
return Vue.http.get('/get-username-by-id/' + this.userId)
7171
.then(response => response.data.username)
7272
}

0 commit comments

Comments
 (0)