diff options
| author | qsm-odoo <qsm@odoo.com> | 2019-03-29 11:05:52 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2019-06-04 07:57:20 +0000 |
| commit | 91d68e296afe8de96f33303e3b74eb3482059f38 (patch) | |
| tree | 02353a8558fcfd4b842b155289e44260d92c880e /addons/payment/static/src/js/payment_processing.js | |
| parent | 8132884840b1bee4303b5a4d2ffc12918a259979 (diff) | |
[IMP] base: add "defer" and "lazy" load options to assets
Thanks to this commit, when using the `t-call-assets` command, we can
use the "defer_load" attribute or the "lazy_load" attribute which will
respectively add the "defer" HTML attribute on the script tags and
replace the "src" attribute of the script tags with a "data-src" one.
In the lazy case, it is up to a custom page script to replace the
"data-src" attribute with the "src" attribute at the appropriate time.
This will be done in a future commit of this PR.
Part of https://github.com/odoo/odoo/pull/32181
task-1961045
Diffstat (limited to 'addons/payment/static/src/js/payment_processing.js')
0 files changed, 0 insertions, 0 deletions
