From bf56e083cffbd90d368f82c2cd97d5c0aea757ef Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Fri, 25 Jul 2014 13:14:19 +0100 Subject: [PATCH] removed a load of console.logs --- .../web/public/coffee/ide/chat/services/chatMessages.coffee | 1 - .../coffee/ide/dropbox/controllers/DropboxController.coffee | 1 - .../coffee/ide/file-tree/controllers/FileTreeController.coffee | 1 - .../test/UnitTests/coffee/Editor/EditorControllerTests.coffee | 2 -- .../UnitTests/coffee/Templates/TemplatesPublisherTests.coffee | 1 - 5 files changed, 6 deletions(-) diff --git a/services/web/public/coffee/ide/chat/services/chatMessages.coffee b/services/web/public/coffee/ide/chat/services/chatMessages.coffee index dbe19aba1a..b7c3c75dcd 100644 --- a/services/web/public/coffee/ide/chat/services/chatMessages.coffee +++ b/services/web/public/coffee/ide/chat/services/chatMessages.coffee @@ -76,7 +76,6 @@ define [ prependMessage(message) appendMessage = (message) -> - console.log "MESSAGES", message, chat.state.messages chat.state.newMessage = message lastMessage = chat.state.messages[chat.state.messages.length - 1] diff --git a/services/web/public/coffee/ide/dropbox/controllers/DropboxController.coffee b/services/web/public/coffee/ide/dropbox/controllers/DropboxController.coffee index 671206d77b..6307516b67 100644 --- a/services/web/public/coffee/ide/dropbox/controllers/DropboxController.coffee +++ b/services/web/public/coffee/ide/dropbox/controllers/DropboxController.coffee @@ -35,7 +35,6 @@ define [ $scope.dbState.minsTillNextPoll = POLLING_INTERVAL - roundedMinsSinceLastPoll $scope.dbState.percentageLeftTillNextPoll = ((roundedMinsSinceLastPoll / POLLING_INTERVAL) * 100) - console.log $scope.dbState.percentageLeftTillNextPoll $timeout calculatePollTime, 60 * 1000 ide.socket.emit "getUserDropboxLinkStatus", user_id, (err, status)=> diff --git a/services/web/public/coffee/ide/file-tree/controllers/FileTreeController.coffee b/services/web/public/coffee/ide/file-tree/controllers/FileTreeController.coffee index 31015229ac..a8618be44a 100644 --- a/services/web/public/coffee/ide/file-tree/controllers/FileTreeController.coffee +++ b/services/web/public/coffee/ide/file-tree/controllers/FileTreeController.coffee @@ -94,7 +94,6 @@ define [ App.controller "UploadFileModalController", [ "$scope", "ide", "$modalInstance", "$timeout", "parent_folder", ($scope, ide, $modalInstance, $timeout, parent_folder) -> - console.log "PArent folder", parent_folder $scope.parent_folder_id = parent_folder?.id uploadCount = 0 diff --git a/services/web/test/UnitTests/coffee/Editor/EditorControllerTests.coffee b/services/web/test/UnitTests/coffee/Editor/EditorControllerTests.coffee index d15b9c00c3..427ead9fc6 100644 --- a/services/web/test/UnitTests/coffee/Editor/EditorControllerTests.coffee +++ b/services/web/test/UnitTests/coffee/Editor/EditorControllerTests.coffee @@ -391,7 +391,6 @@ describe "EditorController", -> @EditorRealTimeController.emitToRoom = sinon.stub() @EditorController.setCompiler @project_id, compiler, (err) => @ProjectOptionsHandler.setCompiler.calledWith(@project_id, compiler).should.equal true - console.log @EditorRealTimeController.emitToRoom.args @EditorRealTimeController.emitToRoom.calledWith(@project_id, "compilerUpdated", compiler).should.equal true done() @ProjectOptionsHandler.setCompiler.args[0][2]() @@ -403,7 +402,6 @@ describe "EditorController", -> @EditorRealTimeController.emitToRoom = sinon.stub() @EditorController.setSpellCheckLanguage @project_id, languageCode, (err) => @ProjectOptionsHandler.setSpellCheckLanguage.calledWith(@project_id, languageCode).should.equal true - console.log @EditorRealTimeController.emitToRoom.args @EditorRealTimeController.emitToRoom.calledWith(@project_id, "spellCheckLanguageUpdated", languageCode).should.equal true done() @ProjectOptionsHandler.setSpellCheckLanguage.args[0][2]() diff --git a/services/web/test/UnitTests/coffee/Templates/TemplatesPublisherTests.coffee b/services/web/test/UnitTests/coffee/Templates/TemplatesPublisherTests.coffee index 2443b87e7e..497eae81ce 100644 --- a/services/web/test/UnitTests/coffee/Templates/TemplatesPublisherTests.coffee +++ b/services/web/test/UnitTests/coffee/Templates/TemplatesPublisherTests.coffee @@ -32,7 +32,6 @@ describe 'Templates publish', -> it 'should post the project to the templates api', (done)-> @TemplatesPublisher.publish @user_id, @project_id, => uri = "#{@settings.apis.templates_api.url}/templates/user/#{@user_id}/project/#{@project_id}" - console.log @request.post.args, uri @request.post.calledWith(uri).should.equal true done()