Skip to content

Commit 197dba4

Browse files
author
Ubuntu
committed
2 parents 4db7efd + 1ed92c9 commit 197dba4

File tree

1 file changed

+2
-0
lines changed
  • stableweb/public/js/controllers

1 file changed

+2
-0
lines changed

stableweb/public/js/controllers/test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,12 @@ function Test($rootScope, $scope, $http) {
153153
var socket = io($rootScope.baseUrl);
154154
//socket.emit('my other event', { my: 'data' });
155155
socket.on('eraseAll', function() {
156+
console.log('aea')
156157
var time = (new Data).getTime();
157158
cachedBoards[time] = cloneCanvas(canvas).toDataURL();
158159
cachedBoardIds.push(time);
159160
eraseAll();
161+
console.log('aeafinish')
160162
});
161163
socket.on('draw', function(data) {
162164
var points = inflatePoints(data.data);

0 commit comments

Comments
 (0)