[REF] transitions: remove create hook

This commit is contained in:
Aaron Bohy
2019-05-16 14:05:01 +02:00
parent 649e20b956
commit 59f401303a
2 changed files with 1 additions and 11 deletions
-6
View File
@@ -7,9 +7,6 @@ exports[`animations t-transition with no delay/duration 1`] = `
let c1 = [], p1 = {key:1};
var vn1 = h('span', p1, c1);
p1.hook = {
create: (_, n) => {
this.utils.transitionCreate(n.elm, 'jupiler');
},
insert: vn => {
this.utils.transitionInsert(vn.elm, 'jupiler');
},
@@ -29,9 +26,6 @@ exports[`animations t-transition, on a simple node (insert) 1`] = `
let c1 = [], p1 = {key:1};
var vn1 = h('span', p1, c1);
p1.hook = {
create: (_, n) => {
this.utils.transitionCreate(n.elm, 'chimay');
},
insert: vn => {
this.utils.transitionInsert(vn.elm, 'chimay');
},