tests: js: update expected output for event-handler-dynamic

pull/4105/head
David A Kondrad 6 years ago
parent e1dfb6f6c0
commit 2e28e2e73d

@ -6,6 +6,7 @@ import {
element, element,
init, init,
insert, insert,
is_function,
listen, listen,
noop, noop,
run_all, run_all,
@ -46,7 +47,7 @@ function create_fragment(ctx) {
listen(button0, "click", /*updateHandler1*/ ctx[2]), listen(button0, "click", /*updateHandler1*/ ctx[2]),
listen(button1, "click", /*updateHandler2*/ ctx[3]), listen(button1, "click", /*updateHandler2*/ ctx[3]),
listen(button2, "click", function () { listen(button2, "click", function () {
/*clickHandler*/ ctx[0].apply(this, arguments); if (is_function(/*clickHandler*/ ctx[0])) /*clickHandler*/ ctx[0].apply(this, arguments);
}) })
]; ];
}, },

Loading…
Cancel
Save