Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0b43a74

Browse files
RohanTalipphanan
authored andcommittedNov 3, 2018
Change "something logic" to "some logic" (#1863)
1 parent 3cfc010 commit 0b43a74

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎src/v2/guide/plugins.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,28 +58,28 @@ A Vue.js plugin should expose an `install` method. The method will be called wit
5858
MyPlugin.install = function (Vue, options) {
5959
// 1. add global method or property
6060
Vue.myGlobalMethod = function () {
61-
// something logic ...
61+
// some logic ...
6262
}
6363

6464
// 2. add a global asset
6565
Vue.directive('my-directive', {
6666
bind (el, binding, vnode, oldVnode) {
67-
// something logic ...
67+
// some logic ...
6868
}
6969
...
7070
})
7171

7272
// 3. inject some component options
7373
Vue.mixin({
7474
created: function () {
75-
// something logic ...
75+
// some logic ...
7676
}
7777
...
7878
})
7979

8080
// 4. add an instance method
8181
Vue.prototype.$myMethod = function (methodOptions) {
82-
// something logic ...
82+
// some logic ...
8383
}
8484
}
8585
```

0 commit comments

Comments
 (0)
Please sign in to comment.