mirror of
https://github.com/raz-varren/sacrificial-socket.git
synced 2025-10-13 11:53:44 +08:00
moar npm friendly
This commit is contained in:
@@ -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);
|
Reference in New Issue
Block a user