Skip to content

Commit 951d679

Browse files
Remove redundant check to prevent installing twice
It turns out Vue now does this check for all plugins automatically, as pointed out by @thgh: 670a1d5#commitcomment-19918130
1 parent 6c5dbd7 commit 951d679

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/index.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
const prefix = '_async_computed$'
22

3-
let installed = false
4-
53
const AsyncComputed = {
64
install (Vue, options) {
75
options = options || {}
86

9-
if (installed) return
10-
installed = true
11-
127
Vue.config
138
.optionMergeStrategies
149
.asyncComputed = Vue.config.optionMergeStrategies.computed

0 commit comments

Comments
 (0)