mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
removed a load of console.logs
This commit is contained in:
parent
4d0f35e6be
commit
bf56e083cf
5 changed files with 0 additions and 6 deletions
|
@ -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]
|
||||
|
|
|
@ -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)=>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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]()
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue