Skip to content

Commit a4cab4e

Browse files
committed
Added string id to the module definition, which addresses issue #79
1 parent ab83d79 commit a4cab4e

5 files changed

+14
-12
lines changed

Diff for: .gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@ bower_components/
22
node_modules/
33
npm-debug.log
44
.DS_Store
5+
.metadata/
6+
RemoteSystemsTempFiles/
7+
workspace/

Diff for: dist/angular-websocket.js

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(function (global, factory) {
22
if (typeof define === "function" && define.amd) {
3-
define(['module', 'exports', 'angular', 'ws'], factory);
3+
define('angular-websocket.module', ['module', 'exports', 'angular', 'ws'], factory);
44
} else if (typeof exports !== "undefined") {
55
factory(module, exports, require('angular'), require('ws'));
66
} else {
@@ -25,12 +25,6 @@
2525
};
2626
}
2727

28-
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
29-
return typeof obj;
30-
} : function (obj) {
31-
return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj;
32-
};
33-
3428
var Socket;
3529

3630
if (typeof window === 'undefined') {

Diff for: dist/angular-websocket.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)