[update] Global installation
This commit is contained in:
@@ -16,7 +16,7 @@ class Event_Emitter
|
||||
*/
|
||||
on( names, callback )
|
||||
{
|
||||
let that = this;
|
||||
let that = this
|
||||
|
||||
// Errors
|
||||
if( typeof names === 'undefined' || names === '' )
|
||||
|
||||
@@ -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 )
|
||||
|
||||
@@ -91,7 +91,7 @@ class Projects
|
||||
{
|
||||
// Delete
|
||||
delete this.all[ _slug ]
|
||||
project.destructor();
|
||||
project.destructor()
|
||||
|
||||
// Emit
|
||||
this.socket.emit( 'update_projects', this.describe() )
|
||||
|
||||
Reference in New Issue
Block a user