Closed phillipskevin closed 6 years ago
Can you if you supply a scope
Yeah, that does work. I initially thought it didn't because my codepen was still throwing, but it was just because I forgot to remove the component from the html, so the auto-mounted component was throwing. Going to close this.
This code throws an error:
The error is:
here: https://github.com/canjs/can-component/blob/17ac553c02652634eb551b0d2229391b23f46426/can-component.js#L518
Here is a codepen: https://codepen.io/kphillips86/pen/VVeyVo?editors=0011