canjs / can-component

Custom elements and widgets
https://canjs.com/doc/can-component.html
MIT License
8 stars 8 forks source link

changing key in test to something that doesn't conflict with IE11 #314

Closed phillipskevin closed 6 years ago

phillipskevin commented 6 years ago

window.item exists in IE11, which causes this test to break in IE11 because can-control sets up event binding on the window instead of the ViewModel.

part of https://github.com/canjs/canjs/issues/4115.