diff --git a/test/js/samples/inline-style-optimized-multiple/expected-bundle.js b/test/js/samples/inline-style-optimized-multiple/expected-bundle.js index c9f7b3729a..4f9f0c5949 100644 --- a/test/js/samples/inline-style-optimized-multiple/expected-bundle.js +++ b/test/js/samples/inline-style-optimized-multiple/expected-bundle.js @@ -145,6 +145,14 @@ function callAll(fns) { while (fns && fns.length) fns.pop()(); } +function _mount(target, anchor) { + this._fragment.mount(target, anchor); +} + +function _unmount() { + this._fragment.unmount(); +} + var proto = { destroy: destroy, get: get, @@ -154,7 +162,9 @@ var proto = { set: set, teardown: destroy, _recompute: noop, - _set: _set + _set: _set, + _mount: _mount, + _unmount: _unmount }; function create_main_fragment ( state, component ) { diff --git a/test/js/samples/inline-style-optimized-url/expected-bundle.js b/test/js/samples/inline-style-optimized-url/expected-bundle.js index e3793b4fe1..3b55e1678f 100644 --- a/test/js/samples/inline-style-optimized-url/expected-bundle.js +++ b/test/js/samples/inline-style-optimized-url/expected-bundle.js @@ -145,6 +145,14 @@ function callAll(fns) { while (fns && fns.length) fns.pop()(); } +function _mount(target, anchor) { + this._fragment.mount(target, anchor); +} + +function _unmount() { + this._fragment.unmount(); +} + var proto = { destroy: destroy, get: get, @@ -154,7 +162,9 @@ var proto = { set: set, teardown: destroy, _recompute: noop, - _set: _set + _set: _set, + _mount: _mount, + _unmount: _unmount }; function create_main_fragment ( state, component ) { diff --git a/test/js/samples/inline-style-optimized/expected-bundle.js b/test/js/samples/inline-style-optimized/expected-bundle.js index 98713a9e1b..0c5ce75b2a 100644 --- a/test/js/samples/inline-style-optimized/expected-bundle.js +++ b/test/js/samples/inline-style-optimized/expected-bundle.js @@ -145,6 +145,14 @@ function callAll(fns) { while (fns && fns.length) fns.pop()(); } +function _mount(target, anchor) { + this._fragment.mount(target, anchor); +} + +function _unmount() { + this._fragment.unmount(); +} + var proto = { destroy: destroy, get: get, @@ -154,7 +162,9 @@ var proto = { set: set, teardown: destroy, _recompute: noop, - _set: _set + _set: _set, + _mount: _mount, + _unmount: _unmount }; function create_main_fragment ( state, component ) { diff --git a/test/js/samples/inline-style-unoptimized/expected-bundle.js b/test/js/samples/inline-style-unoptimized/expected-bundle.js index f463764157..4848e382a3 100644 --- a/test/js/samples/inline-style-unoptimized/expected-bundle.js +++ b/test/js/samples/inline-style-unoptimized/expected-bundle.js @@ -145,6 +145,14 @@ function callAll(fns) { while (fns && fns.length) fns.pop()(); } +function _mount(target, anchor) { + this._fragment.mount(target, anchor); +} + +function _unmount() { + this._fragment.unmount(); +} + var proto = { destroy: destroy, get: get, @@ -154,7 +162,9 @@ var proto = { set: set, teardown: destroy, _recompute: noop, - _set: _set + _set: _set, + _mount: _mount, + _unmount: _unmount }; function create_main_fragment ( state, component ) {