From e2d50617c2821a3c65aaae9783c36b04c9c64e9e Mon Sep 17 00:00:00 2001 From: ekhaled Date: Tue, 6 Mar 2018 16:59:47 +0000 Subject: [PATCH 01/11] fixes #1188, fixes #1201 --- src/generators/dom/index.ts | 2 +- src/shared/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/generators/dom/index.ts b/src/generators/dom/index.ts index 1d25c4bcfc96..2f43286ba9c2 100644 --- a/src/generators/dom/index.ts +++ b/src/generators/dom/index.ts @@ -280,7 +280,7 @@ export default function dom( ${options.dev && `if (options.hydrate) throw new Error("options.hydrate only works if the component was compiled with the \`hydratable: true\` option");`} this._fragment.c(); `} - this._fragment.${block.hasIntroMethod ? 'i' : 'm'}(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); ${(generator.hasComponents || generator.hasComplexBindings || templateProperties.oncreate || generator.hasIntroTransitions) && deindent` ${generator.hasComponents && `this._lock = true;`} diff --git a/src/shared/index.js b/src/shared/index.js index d9d6475e6419..bc917a6004c6 100644 --- a/src/shared/index.js +++ b/src/shared/index.js @@ -185,7 +185,7 @@ export function callAll(fns) { } export function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } export function _unmount() { From 2e3724f7d3ba62d2c5b5afe3e0ece3760af95e6f Mon Sep 17 00:00:00 2001 From: ekhaled Date: Tue, 6 Mar 2018 17:07:49 +0000 Subject: [PATCH 02/11] fix snapshots --- .../samples/collapses-text-around-comments/expected-bundle.js | 4 ++-- test/js/samples/collapses-text-around-comments/expected.js | 2 +- test/js/samples/component-static-immutable/expected-bundle.js | 4 ++-- test/js/samples/component-static-immutable/expected.js | 2 +- .../js/samples/component-static-immutable2/expected-bundle.js | 4 ++-- test/js/samples/component-static-immutable2/expected.js | 2 +- test/js/samples/component-static/expected-bundle.js | 4 ++-- test/js/samples/component-static/expected.js | 2 +- test/js/samples/computed-collapsed-if/expected-bundle.js | 4 ++-- test/js/samples/computed-collapsed-if/expected.js | 2 +- test/js/samples/css-media-query/expected-bundle.js | 4 ++-- test/js/samples/css-media-query/expected.js | 2 +- test/js/samples/css-shadow-dom-keyframes/expected-bundle.js | 2 +- test/js/samples/deconflict-globals/expected-bundle.js | 4 ++-- test/js/samples/deconflict-globals/expected.js | 2 +- test/js/samples/do-use-dataset/expected-bundle.js | 4 ++-- test/js/samples/do-use-dataset/expected.js | 2 +- test/js/samples/dont-use-dataset-in-legacy/expected-bundle.js | 4 ++-- test/js/samples/dont-use-dataset-in-legacy/expected.js | 2 +- test/js/samples/dont-use-dataset-in-svg/expected-bundle.js | 4 ++-- test/js/samples/dont-use-dataset-in-svg/expected.js | 2 +- test/js/samples/each-block-changed-check/expected-bundle.js | 4 ++-- test/js/samples/each-block-changed-check/expected.js | 2 +- test/js/samples/event-handlers-custom/expected-bundle.js | 4 ++-- test/js/samples/event-handlers-custom/expected.js | 2 +- test/js/samples/head-no-whitespace/expected-bundle.js | 4 ++-- test/js/samples/head-no-whitespace/expected.js | 2 +- test/js/samples/if-block-no-update/expected-bundle.js | 4 ++-- test/js/samples/if-block-no-update/expected.js | 2 +- test/js/samples/if-block-simple/expected-bundle.js | 4 ++-- test/js/samples/if-block-simple/expected.js | 2 +- .../inline-style-optimized-multiple/expected-bundle.js | 4 ++-- test/js/samples/inline-style-optimized-multiple/expected.js | 2 +- test/js/samples/inline-style-optimized-url/expected-bundle.js | 4 ++-- test/js/samples/inline-style-optimized-url/expected.js | 2 +- test/js/samples/inline-style-optimized/expected-bundle.js | 4 ++-- test/js/samples/inline-style-optimized/expected.js | 2 +- test/js/samples/inline-style-unoptimized/expected-bundle.js | 4 ++-- test/js/samples/inline-style-unoptimized/expected.js | 2 +- .../samples/input-without-blowback-guard/expected-bundle.js | 4 ++-- test/js/samples/input-without-blowback-guard/expected.js | 2 +- test/js/samples/legacy-default/expected-bundle.js | 4 ++-- test/js/samples/legacy-default/expected.js | 2 +- test/js/samples/legacy-input-type/expected-bundle.js | 4 ++-- test/js/samples/legacy-input-type/expected.js | 2 +- test/js/samples/legacy-quote-class/expected-bundle.js | 4 ++-- test/js/samples/legacy-quote-class/expected.js | 2 +- test/js/samples/media-bindings/expected-bundle.js | 4 ++-- test/js/samples/media-bindings/expected.js | 2 +- test/js/samples/non-imported-component/expected-bundle.js | 4 ++-- test/js/samples/non-imported-component/expected.js | 2 +- .../samples/onrender-onteardown-rewritten/expected-bundle.js | 4 ++-- test/js/samples/onrender-onteardown-rewritten/expected.js | 2 +- test/js/samples/setup-method/expected-bundle.js | 4 ++-- test/js/samples/setup-method/expected.js | 2 +- test/js/samples/svg-title/expected-bundle.js | 4 ++-- test/js/samples/svg-title/expected.js | 2 +- test/js/samples/title/expected-bundle.js | 4 ++-- test/js/samples/title/expected.js | 2 +- test/js/samples/use-elements-as-anchors/expected-bundle.js | 4 ++-- test/js/samples/use-elements-as-anchors/expected.js | 2 +- test/js/samples/window-binding-scroll/expected-bundle.js | 4 ++-- test/js/samples/window-binding-scroll/expected.js | 2 +- 63 files changed, 94 insertions(+), 94 deletions(-) diff --git a/test/js/samples/collapses-text-around-comments/expected-bundle.js b/test/js/samples/collapses-text-around-comments/expected-bundle.js index 5a321c03117f..2e5855239466 100644 --- a/test/js/samples/collapses-text-around-comments/expected-bundle.js +++ b/test/js/samples/collapses-text-around-comments/expected-bundle.js @@ -171,7 +171,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -252,7 +252,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/collapses-text-around-comments/expected.js b/test/js/samples/collapses-text-around-comments/expected.js index 17e612b644c9..ac6fe0181b53 100644 --- a/test/js/samples/collapses-text-around-comments/expected.js +++ b/test/js/samples/collapses-text-around-comments/expected.js @@ -59,7 +59,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/component-static-immutable/expected-bundle.js b/test/js/samples/component-static-immutable/expected-bundle.js index 047169075a28..090f3ccf3b50 100644 --- a/test/js/samples/component-static-immutable/expected-bundle.js +++ b/test/js/samples/component-static-immutable/expected-bundle.js @@ -151,7 +151,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -219,7 +219,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); this._lock = true; callAll(this._beforecreate); diff --git a/test/js/samples/component-static-immutable/expected.js b/test/js/samples/component-static-immutable/expected.js index 647b06817966..153c6810f2df 100644 --- a/test/js/samples/component-static-immutable/expected.js +++ b/test/js/samples/component-static-immutable/expected.js @@ -45,7 +45,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); this._lock = true; callAll(this._beforecreate); diff --git a/test/js/samples/component-static-immutable2/expected-bundle.js b/test/js/samples/component-static-immutable2/expected-bundle.js index 047169075a28..090f3ccf3b50 100644 --- a/test/js/samples/component-static-immutable2/expected-bundle.js +++ b/test/js/samples/component-static-immutable2/expected-bundle.js @@ -151,7 +151,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -219,7 +219,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); this._lock = true; callAll(this._beforecreate); diff --git a/test/js/samples/component-static-immutable2/expected.js b/test/js/samples/component-static-immutable2/expected.js index 647b06817966..153c6810f2df 100644 --- a/test/js/samples/component-static-immutable2/expected.js +++ b/test/js/samples/component-static-immutable2/expected.js @@ -45,7 +45,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); this._lock = true; callAll(this._beforecreate); diff --git a/test/js/samples/component-static/expected-bundle.js b/test/js/samples/component-static/expected-bundle.js index 5798f22df261..5853ee8b5240 100644 --- a/test/js/samples/component-static/expected-bundle.js +++ b/test/js/samples/component-static/expected-bundle.js @@ -147,7 +147,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -215,7 +215,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); this._lock = true; callAll(this._beforecreate); diff --git a/test/js/samples/component-static/expected.js b/test/js/samples/component-static/expected.js index a689848dc0d1..26b13810479c 100644 --- a/test/js/samples/component-static/expected.js +++ b/test/js/samples/component-static/expected.js @@ -45,7 +45,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); this._lock = true; callAll(this._beforecreate); diff --git a/test/js/samples/computed-collapsed-if/expected-bundle.js b/test/js/samples/computed-collapsed-if/expected-bundle.js index 08d3d2fca920..526939174169 100644 --- a/test/js/samples/computed-collapsed-if/expected-bundle.js +++ b/test/js/samples/computed-collapsed-if/expected-bundle.js @@ -147,7 +147,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -203,7 +203,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/computed-collapsed-if/expected.js b/test/js/samples/computed-collapsed-if/expected.js index d87ef16f9244..5e1728bacf1d 100644 --- a/test/js/samples/computed-collapsed-if/expected.js +++ b/test/js/samples/computed-collapsed-if/expected.js @@ -33,7 +33,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/css-media-query/expected-bundle.js b/test/js/samples/css-media-query/expected-bundle.js index 51f7c5673292..a05d9980f928 100644 --- a/test/js/samples/css-media-query/expected-bundle.js +++ b/test/js/samples/css-media-query/expected-bundle.js @@ -167,7 +167,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -239,7 +239,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/css-media-query/expected.js b/test/js/samples/css-media-query/expected.js index 6e03ca0a0ae0..d5fa749559df 100644 --- a/test/js/samples/css-media-query/expected.js +++ b/test/js/samples/css-media-query/expected.js @@ -49,7 +49,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/css-shadow-dom-keyframes/expected-bundle.js b/test/js/samples/css-shadow-dom-keyframes/expected-bundle.js index 9ed1bbcef869..ed607a1822ea 100644 --- a/test/js/samples/css-shadow-dom-keyframes/expected-bundle.js +++ b/test/js/samples/css-shadow-dom-keyframes/expected-bundle.js @@ -159,7 +159,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { diff --git a/test/js/samples/deconflict-globals/expected-bundle.js b/test/js/samples/deconflict-globals/expected-bundle.js index e210ffe3ac37..8bd863b9389c 100644 --- a/test/js/samples/deconflict-globals/expected-bundle.js +++ b/test/js/samples/deconflict-globals/expected-bundle.js @@ -147,7 +147,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -211,7 +211,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); callAll(this._oncreate); } diff --git a/test/js/samples/deconflict-globals/expected.js b/test/js/samples/deconflict-globals/expected.js index d740fe634dcd..b3cba40e2093 100644 --- a/test/js/samples/deconflict-globals/expected.js +++ b/test/js/samples/deconflict-globals/expected.js @@ -42,7 +42,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); callAll(this._oncreate); } diff --git a/test/js/samples/do-use-dataset/expected-bundle.js b/test/js/samples/do-use-dataset/expected-bundle.js index 229e4a34503b..aa771127c922 100644 --- a/test/js/samples/do-use-dataset/expected-bundle.js +++ b/test/js/samples/do-use-dataset/expected-bundle.js @@ -163,7 +163,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -233,7 +233,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/do-use-dataset/expected.js b/test/js/samples/do-use-dataset/expected.js index 27a335d0a64a..74a14dd0f911 100644 --- a/test/js/samples/do-use-dataset/expected.js +++ b/test/js/samples/do-use-dataset/expected.js @@ -47,7 +47,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/dont-use-dataset-in-legacy/expected-bundle.js b/test/js/samples/dont-use-dataset-in-legacy/expected-bundle.js index 75ce562da6bb..d532914b7e2d 100644 --- a/test/js/samples/dont-use-dataset-in-legacy/expected-bundle.js +++ b/test/js/samples/dont-use-dataset-in-legacy/expected-bundle.js @@ -167,7 +167,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -237,7 +237,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/dont-use-dataset-in-legacy/expected.js b/test/js/samples/dont-use-dataset-in-legacy/expected.js index e9062d7ba1f6..5d47666a98df 100644 --- a/test/js/samples/dont-use-dataset-in-legacy/expected.js +++ b/test/js/samples/dont-use-dataset-in-legacy/expected.js @@ -47,7 +47,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/dont-use-dataset-in-svg/expected-bundle.js b/test/js/samples/dont-use-dataset-in-svg/expected-bundle.js index 6cd012d4b73c..f299b5b8e87e 100644 --- a/test/js/samples/dont-use-dataset-in-svg/expected-bundle.js +++ b/test/js/samples/dont-use-dataset-in-svg/expected-bundle.js @@ -167,7 +167,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -235,7 +235,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/dont-use-dataset-in-svg/expected.js b/test/js/samples/dont-use-dataset-in-svg/expected.js index 9e541886bcfe..e5cf46fcbdc4 100644 --- a/test/js/samples/dont-use-dataset-in-svg/expected.js +++ b/test/js/samples/dont-use-dataset-in-svg/expected.js @@ -45,7 +45,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/each-block-changed-check/expected-bundle.js b/test/js/samples/each-block-changed-check/expected-bundle.js index 11916f82b4c4..e5fbf4c884c7 100644 --- a/test/js/samples/each-block-changed-check/expected-bundle.js +++ b/test/js/samples/each-block-changed-check/expected-bundle.js @@ -179,7 +179,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -360,7 +360,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/each-block-changed-check/expected.js b/test/js/samples/each-block-changed-check/expected.js index 2eb66567a610..68617bd2074e 100644 --- a/test/js/samples/each-block-changed-check/expected.js +++ b/test/js/samples/each-block-changed-check/expected.js @@ -158,7 +158,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/event-handlers-custom/expected-bundle.js b/test/js/samples/event-handlers-custom/expected-bundle.js index 25f4ea324ace..55eb888b2947 100644 --- a/test/js/samples/event-handlers-custom/expected-bundle.js +++ b/test/js/samples/event-handlers-custom/expected-bundle.js @@ -159,7 +159,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -233,7 +233,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/event-handlers-custom/expected.js b/test/js/samples/event-handlers-custom/expected.js index 785fefbeef32..79eee1454a6b 100644 --- a/test/js/samples/event-handlers-custom/expected.js +++ b/test/js/samples/event-handlers-custom/expected.js @@ -52,7 +52,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/head-no-whitespace/expected-bundle.js b/test/js/samples/head-no-whitespace/expected-bundle.js index f3eec8c97bee..804d8f899163 100644 --- a/test/js/samples/head-no-whitespace/expected-bundle.js +++ b/test/js/samples/head-no-whitespace/expected-bundle.js @@ -159,7 +159,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -224,7 +224,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/head-no-whitespace/expected.js b/test/js/samples/head-no-whitespace/expected.js index 9ba161c69d2d..9bf8e8370d97 100644 --- a/test/js/samples/head-no-whitespace/expected.js +++ b/test/js/samples/head-no-whitespace/expected.js @@ -42,7 +42,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/if-block-no-update/expected-bundle.js b/test/js/samples/if-block-no-update/expected-bundle.js index 662f80f0aa1b..2606f3de0b34 100644 --- a/test/js/samples/if-block-no-update/expected-bundle.js +++ b/test/js/samples/if-block-no-update/expected-bundle.js @@ -163,7 +163,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -281,7 +281,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/if-block-no-update/expected.js b/test/js/samples/if-block-no-update/expected.js index 31b4b0f7a42f..ce1174715193 100644 --- a/test/js/samples/if-block-no-update/expected.js +++ b/test/js/samples/if-block-no-update/expected.js @@ -95,7 +95,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/if-block-simple/expected-bundle.js b/test/js/samples/if-block-simple/expected-bundle.js index 929828371103..7d4b12bbbfa7 100644 --- a/test/js/samples/if-block-simple/expected-bundle.js +++ b/test/js/samples/if-block-simple/expected-bundle.js @@ -163,7 +163,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -258,7 +258,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/if-block-simple/expected.js b/test/js/samples/if-block-simple/expected.js index 4c999546c0fa..35ad2dcf81a8 100644 --- a/test/js/samples/if-block-simple/expected.js +++ b/test/js/samples/if-block-simple/expected.js @@ -72,7 +72,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } 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 682b3f0423bf..86ae0aaf8e4d 100644 --- a/test/js/samples/inline-style-optimized-multiple/expected-bundle.js +++ b/test/js/samples/inline-style-optimized-multiple/expected-bundle.js @@ -163,7 +163,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -231,7 +231,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/inline-style-optimized-multiple/expected.js b/test/js/samples/inline-style-optimized-multiple/expected.js index ce3ffda24391..3c84da077481 100644 --- a/test/js/samples/inline-style-optimized-multiple/expected.js +++ b/test/js/samples/inline-style-optimized-multiple/expected.js @@ -45,7 +45,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } 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 38f088a8e7d8..f8142a8a1270 100644 --- a/test/js/samples/inline-style-optimized-url/expected-bundle.js +++ b/test/js/samples/inline-style-optimized-url/expected-bundle.js @@ -163,7 +163,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -226,7 +226,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/inline-style-optimized-url/expected.js b/test/js/samples/inline-style-optimized-url/expected.js index 376cad092af7..8ef2fe0b150c 100644 --- a/test/js/samples/inline-style-optimized-url/expected.js +++ b/test/js/samples/inline-style-optimized-url/expected.js @@ -40,7 +40,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/inline-style-optimized/expected-bundle.js b/test/js/samples/inline-style-optimized/expected-bundle.js index e875dfc740c7..432619f817f5 100644 --- a/test/js/samples/inline-style-optimized/expected-bundle.js +++ b/test/js/samples/inline-style-optimized/expected-bundle.js @@ -163,7 +163,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -226,7 +226,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/inline-style-optimized/expected.js b/test/js/samples/inline-style-optimized/expected.js index 74c4b6f417f1..0efa7e34fbb9 100644 --- a/test/js/samples/inline-style-optimized/expected.js +++ b/test/js/samples/inline-style-optimized/expected.js @@ -40,7 +40,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/inline-style-unoptimized/expected-bundle.js b/test/js/samples/inline-style-unoptimized/expected-bundle.js index 77a78ca5c036..3ecbc5cc5693 100644 --- a/test/js/samples/inline-style-unoptimized/expected-bundle.js +++ b/test/js/samples/inline-style-unoptimized/expected-bundle.js @@ -163,7 +163,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -237,7 +237,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/inline-style-unoptimized/expected.js b/test/js/samples/inline-style-unoptimized/expected.js index 04e1226f6d1a..89a7bc51e4fb 100644 --- a/test/js/samples/inline-style-unoptimized/expected.js +++ b/test/js/samples/inline-style-unoptimized/expected.js @@ -51,7 +51,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/input-without-blowback-guard/expected-bundle.js b/test/js/samples/input-without-blowback-guard/expected-bundle.js index 64b1dd79ad5c..5c5fbeeb011d 100644 --- a/test/js/samples/input-without-blowback-guard/expected-bundle.js +++ b/test/js/samples/input-without-blowback-guard/expected-bundle.js @@ -167,7 +167,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -237,7 +237,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/input-without-blowback-guard/expected.js b/test/js/samples/input-without-blowback-guard/expected.js index d313c7c01d35..7a6926b406bc 100644 --- a/test/js/samples/input-without-blowback-guard/expected.js +++ b/test/js/samples/input-without-blowback-guard/expected.js @@ -47,7 +47,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/legacy-default/expected-bundle.js b/test/js/samples/legacy-default/expected-bundle.js index ce2e08302be9..b46e8293dabc 100644 --- a/test/js/samples/legacy-default/expected-bundle.js +++ b/test/js/samples/legacy-default/expected-bundle.js @@ -181,7 +181,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -275,7 +275,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); this._lock = true; callAll(this._beforecreate); diff --git a/test/js/samples/legacy-default/expected.js b/test/js/samples/legacy-default/expected.js index 6c90bb8f1357..f1edfcc6d4ee 100644 --- a/test/js/samples/legacy-default/expected.js +++ b/test/js/samples/legacy-default/expected.js @@ -71,7 +71,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); this._lock = true; callAll(this._beforecreate); diff --git a/test/js/samples/legacy-input-type/expected-bundle.js b/test/js/samples/legacy-input-type/expected-bundle.js index 69d4f501dcd7..f79e8420d1bf 100644 --- a/test/js/samples/legacy-input-type/expected-bundle.js +++ b/test/js/samples/legacy-input-type/expected-bundle.js @@ -165,7 +165,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -224,7 +224,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/legacy-input-type/expected.js b/test/js/samples/legacy-input-type/expected.js index 5236b758dcbf..705fe79d96ff 100644 --- a/test/js/samples/legacy-input-type/expected.js +++ b/test/js/samples/legacy-input-type/expected.js @@ -36,7 +36,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/legacy-quote-class/expected-bundle.js b/test/js/samples/legacy-quote-class/expected-bundle.js index acc11efb5c6e..3ffb2890c6d6 100644 --- a/test/js/samples/legacy-quote-class/expected-bundle.js +++ b/test/js/samples/legacy-quote-class/expected-bundle.js @@ -182,7 +182,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -251,7 +251,7 @@ function SvelteComponent(options) { var nodes = children(options.target); options.hydrate ? this._fragment.l(nodes) : this._fragment.c(); nodes.forEach(detachNode); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/legacy-quote-class/expected.js b/test/js/samples/legacy-quote-class/expected.js index 76490fd6f98f..bc489b5fcc89 100644 --- a/test/js/samples/legacy-quote-class/expected.js +++ b/test/js/samples/legacy-quote-class/expected.js @@ -46,7 +46,7 @@ function SvelteComponent(options) { var nodes = children(options.target); options.hydrate ? this._fragment.l(nodes) : this._fragment.c(); nodes.forEach(detachNode); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/media-bindings/expected-bundle.js b/test/js/samples/media-bindings/expected-bundle.js index 552a17c725a0..84634ed65e44 100644 --- a/test/js/samples/media-bindings/expected-bundle.js +++ b/test/js/samples/media-bindings/expected-bundle.js @@ -175,7 +175,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -295,7 +295,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); callAll(this._beforecreate); } diff --git a/test/js/samples/media-bindings/expected.js b/test/js/samples/media-bindings/expected.js index 527e233cfda3..db71a78a5580 100644 --- a/test/js/samples/media-bindings/expected.js +++ b/test/js/samples/media-bindings/expected.js @@ -97,7 +97,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); callAll(this._beforecreate); } diff --git a/test/js/samples/non-imported-component/expected-bundle.js b/test/js/samples/non-imported-component/expected-bundle.js index 85a5f677a939..f4045659d35f 100644 --- a/test/js/samples/non-imported-component/expected-bundle.js +++ b/test/js/samples/non-imported-component/expected-bundle.js @@ -161,7 +161,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -240,7 +240,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); this._lock = true; callAll(this._beforecreate); diff --git a/test/js/samples/non-imported-component/expected.js b/test/js/samples/non-imported-component/expected.js index 089e8db6e5b8..2d28036e8dd9 100644 --- a/test/js/samples/non-imported-component/expected.js +++ b/test/js/samples/non-imported-component/expected.js @@ -57,7 +57,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); this._lock = true; callAll(this._beforecreate); diff --git a/test/js/samples/onrender-onteardown-rewritten/expected-bundle.js b/test/js/samples/onrender-onteardown-rewritten/expected-bundle.js index 09775d1f81d4..0146c27bf64f 100644 --- a/test/js/samples/onrender-onteardown-rewritten/expected-bundle.js +++ b/test/js/samples/onrender-onteardown-rewritten/expected-bundle.js @@ -147,7 +147,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -206,7 +206,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); callAll(this._oncreate); } diff --git a/test/js/samples/onrender-onteardown-rewritten/expected.js b/test/js/samples/onrender-onteardown-rewritten/expected.js index 83e8d6200fd3..87c1cd65919b 100644 --- a/test/js/samples/onrender-onteardown-rewritten/expected.js +++ b/test/js/samples/onrender-onteardown-rewritten/expected.js @@ -38,7 +38,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); callAll(this._oncreate); } diff --git a/test/js/samples/setup-method/expected-bundle.js b/test/js/samples/setup-method/expected-bundle.js index c30f01edb19d..b18735328177 100644 --- a/test/js/samples/setup-method/expected-bundle.js +++ b/test/js/samples/setup-method/expected-bundle.js @@ -147,7 +147,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -210,7 +210,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/setup-method/expected.js b/test/js/samples/setup-method/expected.js index e4778f582657..5ec2a8fbb7f2 100644 --- a/test/js/samples/setup-method/expected.js +++ b/test/js/samples/setup-method/expected.js @@ -40,7 +40,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/svg-title/expected-bundle.js b/test/js/samples/svg-title/expected-bundle.js index 2beb78a67850..44b61ea48cba 100644 --- a/test/js/samples/svg-title/expected-bundle.js +++ b/test/js/samples/svg-title/expected-bundle.js @@ -167,7 +167,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -225,7 +225,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/svg-title/expected.js b/test/js/samples/svg-title/expected.js index 059d1d804d81..e3ffee8334f2 100644 --- a/test/js/samples/svg-title/expected.js +++ b/test/js/samples/svg-title/expected.js @@ -35,7 +35,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/title/expected-bundle.js b/test/js/samples/title/expected-bundle.js index c37f7cb20a40..1aab21c76280 100644 --- a/test/js/samples/title/expected-bundle.js +++ b/test/js/samples/title/expected-bundle.js @@ -147,7 +147,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -201,7 +201,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/title/expected.js b/test/js/samples/title/expected.js index d5546cd4c2d2..3a39eb61e9ec 100644 --- a/test/js/samples/title/expected.js +++ b/test/js/samples/title/expected.js @@ -31,7 +31,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/use-elements-as-anchors/expected-bundle.js b/test/js/samples/use-elements-as-anchors/expected-bundle.js index 8a4a7817a38c..cdc0be6a0105 100644 --- a/test/js/samples/use-elements-as-anchors/expected-bundle.js +++ b/test/js/samples/use-elements-as-anchors/expected-bundle.js @@ -171,7 +171,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -448,7 +448,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/use-elements-as-anchors/expected.js b/test/js/samples/use-elements-as-anchors/expected.js index 0ff85d63b09d..4732232ed24a 100644 --- a/test/js/samples/use-elements-as-anchors/expected.js +++ b/test/js/samples/use-elements-as-anchors/expected.js @@ -254,7 +254,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/window-binding-scroll/expected-bundle.js b/test/js/samples/window-binding-scroll/expected-bundle.js index cac144881d58..b911b01faac8 100644 --- a/test/js/samples/window-binding-scroll/expected-bundle.js +++ b/test/js/samples/window-binding-scroll/expected-bundle.js @@ -167,7 +167,7 @@ function callAll(fns) { } function _mount(target, anchor) { - this._fragment.m(target, anchor); + this._fragment[this._fragment.i ? 'i' : 'm'](target, anchor); } function _unmount() { @@ -250,7 +250,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } diff --git a/test/js/samples/window-binding-scroll/expected.js b/test/js/samples/window-binding-scroll/expected.js index 0c22523b61ff..0f9b4d3b454b 100644 --- a/test/js/samples/window-binding-scroll/expected.js +++ b/test/js/samples/window-binding-scroll/expected.js @@ -60,7 +60,7 @@ function SvelteComponent(options) { if (options.target) { this._fragment.c(); - this._fragment.m(options.target, options.anchor || null); + this._mount(options.target, options.anchor || null); } } From 7401004a667e2514282a6951722fdd433b05d5d0 Mon Sep 17 00:00:00 2001 From: ekhaled Date: Tue, 6 Mar 2018 18:09:04 +0000 Subject: [PATCH 03/11] add test for transitions on nested components --- .../transition-js-nested-intro/_config.js | 21 +++++++++++++++++++ .../transition-js-nested-intro/child.html | 17 +++++++++++++++ .../transition-js-nested-intro/main.html | 10 +++++++++ 3 files changed, 48 insertions(+) create mode 100644 test/runtime/samples/transition-js-nested-intro/_config.js create mode 100644 test/runtime/samples/transition-js-nested-intro/child.html create mode 100644 test/runtime/samples/transition-js-nested-intro/main.html diff --git a/test/runtime/samples/transition-js-nested-intro/_config.js b/test/runtime/samples/transition-js-nested-intro/_config.js new file mode 100644 index 000000000000..9906be26d200 --- /dev/null +++ b/test/runtime/samples/transition-js-nested-intro/_config.js @@ -0,0 +1,21 @@ +export default { + test ( assert, component, target, window, raf ) { + component.set({ visible: true }); + const div = target.querySelector( 'div' ); + assert.equal( div.foo, 0 ); + + raf.tick( 50 ); + assert.equal( div.foo, 0 ); + + raf.tick( 100 ); + assert.equal( div.foo, 0.5 ); + + raf.tick( 125 ); + assert.equal( div.foo, 0.75 ); + + raf.tick( 150 ); + assert.equal( div.foo, 1 ); + + component.destroy(); + } +}; \ No newline at end of file diff --git a/test/runtime/samples/transition-js-nested-intro/child.html b/test/runtime/samples/transition-js-nested-intro/child.html new file mode 100644 index 000000000000..32a4b811522c --- /dev/null +++ b/test/runtime/samples/transition-js-nested-intro/child.html @@ -0,0 +1,17 @@ +
+ + \ No newline at end of file diff --git a/test/runtime/samples/transition-js-nested-intro/main.html b/test/runtime/samples/transition-js-nested-intro/main.html new file mode 100644 index 000000000000..c8bf70b0ae3b --- /dev/null +++ b/test/runtime/samples/transition-js-nested-intro/main.html @@ -0,0 +1,10 @@ +{{#if visible}} + delayed +{{/if}} + + \ No newline at end of file From 7b2246126e138e89621c98c8c883689a29e3adbb Mon Sep 17 00:00:00 2001 From: ekhaled Date: Tue, 6 Mar 2018 18:27:46 +0000 Subject: [PATCH 04/11] fix tests on linux --- .../transition-js-nested-intro/Child.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 test/runtime/samples/transition-js-nested-intro/Child.html diff --git a/test/runtime/samples/transition-js-nested-intro/Child.html b/test/runtime/samples/transition-js-nested-intro/Child.html new file mode 100644 index 000000000000..32a4b811522c --- /dev/null +++ b/test/runtime/samples/transition-js-nested-intro/Child.html @@ -0,0 +1,17 @@ +
+ + \ No newline at end of file From ae86cf9f4b71208068968975a841383a2c3e7602 Mon Sep 17 00:00:00 2001 From: ekhaled Date: Tue, 6 Mar 2018 18:30:15 +0000 Subject: [PATCH 05/11] clarify in test that its an intro test only --- test/runtime/samples/transition-js-nested-intro/Child.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtime/samples/transition-js-nested-intro/Child.html b/test/runtime/samples/transition-js-nested-intro/Child.html index 32a4b811522c..672c5244b342 100644 --- a/test/runtime/samples/transition-js-nested-intro/Child.html +++ b/test/runtime/samples/transition-js-nested-intro/Child.html @@ -1,4 +1,4 @@ -
+
\ No newline at end of file diff --git a/test/runtime/samples/transition-js-nested-intro/child.html b/test/runtime/samples/transition-js-nested-intro/child.html deleted file mode 100644 index 32a4b811522c..000000000000 --- a/test/runtime/samples/transition-js-nested-intro/child.html +++ /dev/null @@ -1,17 +0,0 @@ -
- - \ No newline at end of file From f9d606a5c9f7cfe18dafe81696debfbf0243c812 Mon Sep 17 00:00:00 2001 From: ekhaled Date: Tue, 6 Mar 2018 19:05:39 +0000 Subject: [PATCH 11/11] re-add Child.html --- .../transition-js-nested-intro/Child.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 test/runtime/samples/transition-js-nested-intro/Child.html diff --git a/test/runtime/samples/transition-js-nested-intro/Child.html b/test/runtime/samples/transition-js-nested-intro/Child.html new file mode 100644 index 000000000000..32a4b811522c --- /dev/null +++ b/test/runtime/samples/transition-js-nested-intro/Child.html @@ -0,0 +1,17 @@ +
+ + \ No newline at end of file