Closed camswords closed 9 years ago
Any reason why is it still not merged to main repo?
I haven't run this yet, but its intent is spot-on. +1
+1 just ran into this issue myself
I just ran into this issue as well. the fix worked for me. It does require that knockout be named knockout via the paths: {} but otherwise it worked great. I would actually expect it to be "ko" instead of knockout.
Thanks - AMD support is now in thanks to @brigand
In the context of AMD, knockout defines itself as a module and does not attach 'ko' to the global object. This causes es5 to fail.
This change defines an AMD module for es5. Knockout is declared as a dependency to ensure that it loaded first.