Fix broken project list page

This commit is contained in:
James Allen 2014-07-18 12:18:05 +01:00
parent 42578e328b
commit b785ab4d15
4 changed files with 2 additions and 6 deletions

View file

@ -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(

View file

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

View file

@ -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) ->

View file

@ -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");
};