From bcf4c59cc6396d6505c86495e29839c4955963a0 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Sat, 11 Aug 2018 18:08:01 -0400 Subject: [PATCH] -> v2.10.0 --- test/js/samples/bind-width-height/expected-bundle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/js/samples/bind-width-height/expected-bundle.js b/test/js/samples/bind-width-height/expected-bundle.js index 1f7abd7812..a7f8a3f616 100644 --- a/test/js/samples/bind-width-height/expected-bundle.js +++ b/test/js/samples/bind-width-height/expected-bundle.js @@ -43,7 +43,7 @@ function addResizeListener(element, fn) { return { cancel: () => { - win && win.removeEventListener('resize', fn); + win && win.removeEventListener && win.removeEventListener('resize', fn); element.removeChild(object); } };