From 247fbea07beec07e6fe2dce2b55720d285527049 Mon Sep 17 00:00:00 2001 From: Yonn Trimoreau <trimoreau.yonn@gmail.com> Date: Mon, 8 Jan 2018 17:08:06 +0100 Subject: [PATCH] Fix for requireJS loading issues (for ad blockers) Please read https://github.com/magento/magento2/issues/12828 --- lib/web/mage/apply/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/web/mage/apply/main.js b/lib/web/mage/apply/main.js index 60b737e59e1..806927e623c 100644 --- a/lib/web/mage/apply/main.js +++ b/lib/web/mage/apply/main.js @@ -32,6 +32,9 @@ define([ } else if ($(el)[component]) { $(el)[component](config); } + }, function(error) { + console.error(error); + return true; }); } -- GitLab