diff options
| author | qsm-odoo <qsm@odoo.com> | 2016-09-13 12:31:47 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2016-09-13 14:18:31 +0200 |
| commit | d83f7587aae3fd2fcd4b6c4622ee7bcca9e80abe (patch) | |
| tree | a9114bd3014f61583609a75c1b5d5af85397a2a6 /addons/web/static/lib/pdfjs/worker_loader_by_odoo.js | |
| parent | 837be69785ee24b8a7b0230ff6bc7e70cba5f5c5 (diff) | |
[MOV] web, website(_slides): move PDFjs lib to web
website_sign is now a backend-only module in enterprise, so it should
not use a website library (even in a static way).
Diffstat (limited to 'addons/web/static/lib/pdfjs/worker_loader_by_odoo.js')
| -rw-r--r-- | addons/web/static/lib/pdfjs/worker_loader_by_odoo.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/addons/web/static/lib/pdfjs/worker_loader_by_odoo.js b/addons/web/static/lib/pdfjs/worker_loader_by_odoo.js new file mode 100644 index 00000000000..0e358fed20c --- /dev/null +++ b/addons/web/static/lib/pdfjs/worker_loader_by_odoo.js @@ -0,0 +1,7 @@ +/* globals PDFJS */ + +'use strict'; + +// Simply resolve the promise, signaling all the assets are loaded. +// Used since the assets are all included in odoo bundle +PDFJS.fakeWorkerFilesLoadedCapability.resolve();
\ No newline at end of file |
