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