summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/ace/worker-xml.js
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2017-08-31 14:39:52 +0200
committerChristophe Matthieu <chm@odoo.com>2017-08-31 16:26:11 +0200
commit95c2bd33a2e4bc5995b77c64c961e97db809e7f2 (patch)
tree27c6d4104ae973ad293f0b8e5742f231f8362ff1 /addons/web/static/lib/ace/worker-xml.js
parent6f60a9a1792f4390c883bc1dff5f595c84183e12 (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.js4
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() {