From ce8b5dd11cc800c60207b48d5498f25fb6ed41d2 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Mon, 1 Dec 2014 16:48:40 +0000 Subject: [PATCH] generate fingerprints for the new pdf.js files --- .../coffee/infrastructure/ExpressLocals.coffee | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/services/web/app/coffee/infrastructure/ExpressLocals.coffee b/services/web/app/coffee/infrastructure/ExpressLocals.coffee index cb3e7837aa..b85ba6850c 100644 --- a/services/web/app/coffee/infrastructure/ExpressLocals.coffee +++ b/services/web/app/coffee/infrastructure/ExpressLocals.coffee @@ -18,14 +18,18 @@ jsPath = logger.log "Generating file fingerprints..." for path in [ - "#{jsPath}libs/require.js", - "#{jsPath}ide.js", - "#{jsPath}main.js", + "#{jsPath}libs/require.js", + "#{jsPath}ide.js", + "#{jsPath}main.js", "#{jsPath}libs.js", "#{jsPath}ace/ace.js", - "#{jsPath}libs/pdf.js", - "#{jsPath}libs/pdf.worker.js", - "/stylesheets/style.css" + "#{jsPath}libs/pdf.js", + "#{jsPath}libs/pdf.worker.js", + "#{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}" exists = fs.existsSync filePath