can-fixture
can-fixture copied to clipboard
fixture is added to the window
https://codepen.io/justinbmeyer/pen/gBBObr?editors=1010
if you remove fixture from being imported, the example still works.
https://github.com/canjs/can-fixture/blob/c67816b167730f7002a9db03a92cde483cdbf130/fixture.js#L70 is where this happens. I don't recall the historical reason for adding it. So I'm not sure if it's a breaking change to remove it or not.
It's almost certainly added to make fixture easy to use without the rest of CanJS. We should probably add a function that warns and calls fixture and then remove in the next Major release.