mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Fix broken project list page
This commit is contained in:
parent
42578e328b
commit
b785ab4d15
4 changed files with 2 additions and 6 deletions
|
@ -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(
|
||||
|
|
|
@ -3,7 +3,6 @@ define [
|
|||
"modules/recursionHelper"
|
||||
"utils/underscore"
|
||||
], () ->
|
||||
console.log "LOADING BASE"
|
||||
App = angular.module("SharelatexApp", [
|
||||
"ui.bootstrap"
|
||||
"autocomplete"
|
||||
|
|
|
@ -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) ->
|
||||
|
|
|
@ -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");
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue