Skip to content

Commit 911879a

Browse files
author
regou
committed
Fix : Only subscriptions can be unsubed
1 parent 1649ef2 commit 911879a

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

src/methods/eventToObservable.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,5 @@ export default function eventToObservable (evtName) {
2323
}
2424
})
2525

26-
;(vm._obSubscriptions || (vm._obSubscriptions = [])).push(obs$)
2726
return obs$
2827
}

src/methods/fromDOMEvent.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,5 @@ export default function fromDOMEvent (selector, event) {
2727
})
2828
})
2929

30-
;(vm._obSubscriptions || (vm._obSubscriptions = [])).push(obs$)
3130
return obs$
3231
}

src/methods/watchAsObservable.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,5 @@ export default function watchAsObservable (expOrFn, options) {
2929
})
3030
})
3131

32-
;(vm._obSubscriptions || (vm._obSubscriptions = [])).push(obs$)
3332
return obs$
3433
}

0 commit comments

Comments
 (0)