angular-websocket
angular-websocket copied to clipboard
Does not work with RequireJS
I've a problem using angular-websocket with requirejs. It tries to load the dependency "ws" and it can't find it.
It runs all fine if i change
define(['module', 'exports', 'angular', 'ws'], factory);
to
define(['module', 'exports', 'angular'/*, 'ws'*/], factory);
+1
I found the "ws" folder in node_modules, but it doesn't have minified version with it, so not sure how to make that work.
+1
Please fix this, it seems relatively easy.
I have my project written in AMD pattern and I need this library to establish websocket connection. Any idea when this fix will go inside 2.0 release?