Handle project destruct

This commit is contained in:
brunosimon
2016-08-11 21:28:39 +02:00
parent 2bd36abac6
commit bdda23cc43
4 changed files with 59 additions and 20 deletions
@@ -96,6 +96,12 @@ application.factory(
if( typeof update_callback === 'function' )
update_callback.apply( this, [ data ] );
} );
// Destruct event
socket.on( 'destruct', function( data )
{
alert( 'destruct' );
} );
};
return result;