Skip to content

Commit

Permalink
Commenting and code clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
glutSolidSphere committed Apr 17, 2017
1 parent 5b22d66 commit 0065599
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion public/javascripts/Lobby/lobby-angular-socket-controller.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
//Controller for socket events used throughout the page.
/**
* Controller for setting up client-side socket data.
* Front-end javascript code inside public folder.
*
* @module javascripts/lobby/lobby-angular-socket-controller
*/
angular.module('lobbyApp').controller ('socketCtrl', function ($scope, $window, socket) {
//Send this event to notify server of a new connection.
socket.on ('connect', function() {
Expand Down

0 comments on commit 0065599

Please sign in to comment.