James Allen 12 лет назад
Родитель
Сommit
b785ab4d15

+ 2 - 3
services/web/app/views/layout.jade

@@ -53,10 +53,9 @@ html(itemscope, itemtype='http://schema.org/Product')
 		- if(typeof(suppressFooter) == "undefined")
 			script(type='text/javascript').
 				window.requirejs = {
-					"urlArgs" : "fingerprint=#{fingerprint(jsPath + 'app/main.js')}",
+					"urlArgs" : "fingerprint=#{fingerprint(jsPath + 'app/main.js')}-#{fingerprint(jsPath + 'libs.js')}",
 					"paths" : {
-						"moment": "libs/moment-2.7.0",
-						"libs": "#{jsPath}/libs.js?fingerprint=#{fingerprint(jsPath + 'libs.js')}"
+						"moment": "libs/moment-2.7.0"
 					}
 				};	
 			script(

+ 0 - 1
services/web/public/coffee/base.coffee

@@ -3,7 +3,6 @@ define [
 	"modules/recursionHelper"
 	"utils/underscore"
 ], () ->
-	console.log "LOADING BASE"
 	App = angular.module("SharelatexApp", [
 		"ui.bootstrap"
 		"autocomplete"

+ 0 - 1
services/web/public/coffee/ide/editor/directives/aceEditor.coffee

@@ -16,7 +16,6 @@ define [
 		ace.config._moduleUrl = ace.config.moduleUrl
 		ace.config.moduleUrl = (args...) ->
 			url = ace.config._moduleUrl(args...) + "?fingerprint=#{window.aceFingerprint}"
-			console.log "URL", url
 			return url
 
 	App.directive "aceEditor", ["$timeout", "$compile", "$rootScope", ($timeout, $compile, $rootScope) ->

+ 0 - 1
services/web/public/js/ace/ace.js

@@ -3465,7 +3465,6 @@ exports.moduleUrl = function(name, component) {
     }
     if (path && path.slice(-1) != "/")
         path += "/";
-    console.log(path, component, sep, base);
     return path + component + sep + base + this.get("suffix");
 };