source files -> src/ folder
This commit is contained in:
1 parent
f006207112
commit
d25f4439fa
144 files changed
No files matched your search
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Created by tmshv on 15/03/15.
|
||||
*/
|
||||
|
||||
module.exports = function (app) {
|
||||
var socket;
|
||||
function init(){
|
||||
socket = io();
|
||||
}
|
||||
|
||||
app.service("io", function () {
|
||||
if (!socket) init();
|
||||
return socket;
|
||||
});
|
||||
};
|
||||
Reference in new issue
Block a user