Loading Breeze via AMD
I try to use Breeze together with: TypeScript, AMD modules, requirejs,
knockout.
Looking at the Breeze code, I can see that it requires knockout via the
name "ko". However, there are other components which require knockout via
the name "knockout".
So, if I create a configuration for requirejs with the path "knockout",
the loader will complain that "ko" has not been loaded yet. If I manually
change the Breeze code, replacing "ko" with "knockout" anything works
fine.
What can be done, so changing the Breeze code is not necessary?
No comments:
Post a Comment