diff options
| author | Christophe Matthieu <chm@odoo.com> | 2017-08-31 14:39:52 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2017-08-31 16:26:11 +0200 |
| commit | 95c2bd33a2e4bc5995b77c64c961e97db809e7f2 (patch) | |
| tree | 27c6d4104ae973ad293f0b8e5742f231f8362ff1 /addons/web/static/lib/ace/worker-xml.js | |
| parent | 6f60a9a1792f4390c883bc1dff5f595c84183e12 (diff) | |
[IMP] web: lazy load nvd3, ace and fullCalendar lib to reduce asset size
Diffstat (limited to 'addons/web/static/lib/ace/worker-xml.js')
| -rw-r--r-- | addons/web/static/lib/ace/worker-xml.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/lib/ace/worker-xml.js b/addons/web/static/lib/ace/worker-xml.js index 7947df70be3..8ddf14e7e8d 100644 --- a/addons/web/static/lib/ace/worker-xml.js +++ b/addons/web/static/lib/ace/worker-xml.js @@ -2,8 +2,8 @@ ;(function(window) { if (typeof window.window != "undefined" && window.document) return; -if (window.require && window.define) - return; + +var define = ace.define, require = ace.require; if (!window.console) { window.console = function() { |
