canjs / can-view-import

Import dependencies in CanJS views
https://canjs.com/doc/can-view-import.html
MIT License
3 stars 2 forks source link

Make the importPromise a notContext scope #84

Closed chasenlehara closed 6 years ago

chasenlehara commented 6 years ago

This fixes a false-positive “not in the current scope, so it is being read from the parent scope” warning.

Fixes https://github.com/canjs/can-view-import/issues/83