moar npm friendly

This commit is contained in:
skedar46
2017-08-07 19:27:34 -07:00
parent f2b08d4f68
commit d1e27b73ef
5 changed files with 40 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "sacrificial-socket",
"version": "1.1.2",
"version": "1.1.3",
"description": "Client javascript for use with the Sacrificial-Socket service",
"keywords": [
"websocket",
@@ -11,5 +11,6 @@
"files": [
"sacrificial-socket.js",
"ng-ss.js"
]
],
"main": "sacrificial-socket.js"
}

View File

@@ -1,4 +1,10 @@
(function(window){ 'use strict';
if(typeof window === 'undefined'){
var window = {};
}
if(typeof module === 'undefined'){
var module = {};
}
(function(window, module){ 'use strict';
/**
* SS is the constructor for the sacrificial-socket client
*
@@ -239,4 +245,5 @@
};
window.SS = SS;
})(window);
module.exports = SS;
})(window, module);

View File

@@ -1,4 +1,10 @@
(function(window){ 'use strict';
if(typeof window === 'undefined'){
var window = {};
}
if(typeof module === 'undefined'){
var module = {};
}
(function(window, module){ 'use strict';
/**
* SS is the constructor for the sacrificial-socket client
*
@@ -239,4 +245,5 @@
};
window.SS = SS;
})(window);
module.exports = SS;
})(window, module);

View File

@@ -1,4 +1,10 @@
(function(window){ 'use strict';
if(typeof window === 'undefined'){
var window = {};
}
if(typeof module === 'undefined'){
var module = {};
}
(function(window, module){ 'use strict';
/**
* SS is the constructor for the sacrificial-socket client
*
@@ -239,4 +245,5 @@
};
window.SS = SS;
})(window);
module.exports = SS;
})(window, module);

View File

@@ -1,4 +1,10 @@
(function(window){ 'use strict';
if(typeof window === 'undefined'){
var window = {};
}
if(typeof module === 'undefined'){
var module = {};
}
(function(window, module){ 'use strict';
/**
* SS is the constructor for the sacrificial-socket client
*
@@ -239,4 +245,5 @@
};
window.SS = SS;
})(window);
module.exports = SS;
})(window, module);