Closed phillipskevin closed 5 years ago
This checks the can.viewModel symbol instead of using can-view-model so that ViewModels are not created on normal DOM elements when events happen. This also caches the Symbol everywhere it's used.
can.viewModel
can-view-model
closes https://github.com/canjs/can-stache-bindings/issues/540.
This checks the
can.viewModel
symbol instead of usingcan-view-model
so that ViewModels are not created on normal DOM elements when events happen. This also caches the Symbol everywhere it's used.closes https://github.com/canjs/can-stache-bindings/issues/540.