Skip to content

Commit 7f60df0

Browse files
Fix broken link to repo explaining Instance names (#2808)
1 parent bf1f598 commit 7f60df0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/cookbook/adding-instance-properties.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ new Vue({
5858
})
5959
```
6060

61-
It would be `"My App"`, then `"The name of some other app"`, because `this.appName` is overwritten ([sort of](https://github.com/getify/You-Dont-Know-JS/blob/2nd-ed/objects-classes/ch5.md)) by `data` when the instance is created. We scope instance properties with `$` to avoid this. You can even use your own convention if you'd like, such as `$_appName` or `ΩappName`, to prevent even conflicts with plugins or future features.
61+
It would be `"My App"`, then `"The name of some other app"`, because `this.appName` is overwritten ([sort of](https://github.com/getify/You-Dont-Know-JS/blob/1st-ed/this%20%26%20object%20prototypes/ch5.md)) by `data` when the instance is created. We scope instance properties with `$` to avoid this. You can even use your own convention if you'd like, such as `$_appName` or `ΩappName`, to prevent even conflicts with plugins or future features.
6262

6363
## Real-World Example: Replacing Vue Resource with Axios
6464

0 commit comments

Comments
 (0)