From aa982873bb97b181e025836c8238aca9929ce605 Mon Sep 17 00:00:00 2001 From: Agus Fikri Suyuthi <40247655+ikrydev@users.noreply.github.com> Date: Sun, 3 Nov 2019 12:33:30 +0700 Subject: [PATCH] Update adding-instance-properties.md Fix Broken Link Change https://github.com/getify/You-Dont-Know-JS/blob/2nd-ed/this-object-prototypes/ch5.md to https://github.com/getify/You-Dont-Know-JS/blob/2nd-ed/objects-classes/ch5.md --- src/v2/cookbook/adding-instance-properties.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v2/cookbook/adding-instance-properties.md b/src/v2/cookbook/adding-instance-properties.md index 768232f433..f2e7e6f460 100644 --- a/src/v2/cookbook/adding-instance-properties.md +++ b/src/v2/cookbook/adding-instance-properties.md @@ -58,7 +58,7 @@ new Vue({ }) ``` -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/this-object-prototypes/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. +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. ## Real-World Example: Replacing Vue Resource with Axios