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/src/js/libs/nvd3.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'addons/web/static/src/js/libs') diff --git a/addons/web/static/src/js/libs/nvd3.js b/addons/web/static/src/js/libs/nvd3.js index 963a1454c3d..eebee6c9459 100644 --- a/addons/web/static/src/js/libs/nvd3.js +++ b/addons/web/static/src/js/libs/nvd3.js @@ -6,10 +6,6 @@ odoo.define('web.nvd3.extensions', function () { * in place. */ -if (!('nv' in window)) { - return; -} - nv.dev = false; // sets nvd3 library in production mode // monkey patch nvd3 to allow removing eventhandler on windowresize events -- cgit v1.2.3