mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
generate fingerprints for the new pdf.js files
This commit is contained in:
parent
f260b141a0
commit
ce8b5dd11c
1 changed files with 10 additions and 6 deletions
|
@ -18,14 +18,18 @@ jsPath =
|
||||||
|
|
||||||
logger.log "Generating file fingerprints..."
|
logger.log "Generating file fingerprints..."
|
||||||
for path in [
|
for path in [
|
||||||
"#{jsPath}libs/require.js",
|
"#{jsPath}libs/require.js",
|
||||||
"#{jsPath}ide.js",
|
"#{jsPath}ide.js",
|
||||||
"#{jsPath}main.js",
|
"#{jsPath}main.js",
|
||||||
"#{jsPath}libs.js",
|
"#{jsPath}libs.js",
|
||||||
"#{jsPath}ace/ace.js",
|
"#{jsPath}ace/ace.js",
|
||||||
"#{jsPath}libs/pdf.js",
|
"#{jsPath}libs/pdf.js",
|
||||||
"#{jsPath}libs/pdf.worker.js",
|
"#{jsPath}libs/pdf.worker.js",
|
||||||
"/stylesheets/style.css"
|
"#{jsPath}libs/compatibility.js",
|
||||||
|
"#{jsPath}libs/pdfjs-1.0.712/pdf.js",
|
||||||
|
"#{jsPath}libs/pdfjs-1.0.712/pdf.worker.js",
|
||||||
|
"#{jsPath}libs/pdfjs-1.0.712/compatibility.js",
|
||||||
|
"/stylesheets/style.css"
|
||||||
]
|
]
|
||||||
filePath = Path.join __dirname, "../../../", "public#{path}"
|
filePath = Path.join __dirname, "../../../", "public#{path}"
|
||||||
exists = fs.existsSync filePath
|
exists = fs.existsSync filePath
|
||||||
|
|
Loading…
Reference in a new issue