[update] Global installation

This commit is contained in:
brunosimon
2016-09-17 02:35:08 +02:00
parent b1a01d34ec
commit 2cc95d0160
13 changed files with 234 additions and 113 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ class Event_Emitter
*/
on( names, callback )
{
let that = this;
let that = this
// Errors
if( typeof names === 'undefined' || names === '' )
+1
View File
@@ -47,6 +47,7 @@ class Project
{
this.socket.emit( 'update_project', this.describe() )
// Debug
if( this.options.debug )
{
console.log( 'socket projects'.green.bold + ' - ' + 'connect'.cyan + ' - ' + socket.id.cyan )
+1 -1
View File
@@ -91,7 +91,7 @@ class Projects
{
// Delete
delete this.all[ _slug ]
project.destructor();
project.destructor()
// Emit
this.socket.emit( 'update_projects', this.describe() )