git ssb

1+

Matt McKegg / mutant



Commit 1748dbe94cf36d3a938f65a43ff0cf56abca627a

computed: add onListen debug option

Matt McKegg committed on 9/7/2016, 1:26:25 PM
Parent: 8517593adc359f5dabe71f32777370c7e71159d3

Files changed

computed.jschanged
computed.jsView
@@ -77,8 +77,12 @@
7777 this.releaseInner = this.inner(this.boundOnInnerUpdate)
7878 }
7979 this.live = true
8080 this.lazy = true
81+
82+ if (this.opts && this.opts.onListen) {
83+ this.opts.onListen()
84+ }
8185 }
8286 },
8387 unlisten: function () {
8488 if (this.live) {

Built with git-ssb-web