You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm developing my own component loader. I want to keep the require syntax, and add a flag to indicate that this is my component, so I can do something about it.
But when default loader see require, it loads it, give loadViewModel only the result, thus I can't find my flag.
The text was updated successfully, but these errors were encountered:
viewModel: { my: true, require: './viewModel' }
I'm developing my own component loader. I want to keep the
require
syntax, and add a flag to indicate that this is my component, so I can do something about it.But when default loader see
require
, it loads it, giveloadViewModel
only the result, thus I can't find my flag.The text was updated successfully, but these errors were encountered: