angular-websocket icon indicating copy to clipboard operation
angular-websocket copied to clipboard

Does not work with RequireJS

Open GerritK opened this issue 8 years ago • 3 comments

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);

GerritK avatar May 26 '16 07:05 GerritK

+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.

ashishtilara avatar Jun 20 '16 04:06 ashishtilara

+1

Please fix this, it seems relatively easy.

AGoodnight avatar Jun 28 '16 15:06 AGoodnight

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?

innovation-stack avatar Sep 29 '16 09:09 innovation-stack