From 95c2bd33a2e4bc5995b77c64c961e97db809e7f2 Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Thu, 31 Aug 2017 14:39:52 +0200 Subject: [IMP] web: lazy load nvd3, ace and fullCalendar lib to reduce asset size --- addons/web/static/lib/ace/mode-python.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'addons/web/static/lib/ace/mode-python.js') diff --git a/addons/web/static/lib/ace/mode-python.js b/addons/web/static/lib/ace/mode-python.js index fd0e436ae50..65087ebd86d 100644 --- a/addons/web/static/lib/ace/mode-python.js +++ b/addons/web/static/lib/ace/mode-python.js @@ -1,3 +1,4 @@ +(function() {var define = ace.define, require = ace.require; define("ace/mode/python_highlight_rules", ["require", "exports", "module", "ace/lib/oop", "ace/mode/text_highlight_rules"], function(e, t, n) { "use strict"; var r = e("../lib/oop"), @@ -182,4 +183,5 @@ define("ace/mode/python_highlight_rules", ["require", "exports", "module", "ace/ r.slice(-i.length) == i && t.remove(new u(n, r.length - i.length, n, r.length)) }, this.$id = "ace/mode/python" }.call(a.prototype), t.Mode = a -}); \ No newline at end of file +}); +})(); -- cgit v1.2.3