Skip to content

Commit bc9b1c0

Browse files
committed
MAGETWO-43201: Require JS loading via CDN fails
- Fix configuration
1 parent 46d7679 commit bc9b1c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Theme/view/base/requirejs-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ var config = {
4444
"jquery/jquery.hashchange": "jquery/jquery.ba-hashchange.min",
4545
"prototype": "legacy-build.min",
4646
"jquery/jquery-storageapi": "jquery/jquery.storageapi.min",
47-
"text": "requirejs/text",
47+
"text": "mage/requirejs/text",
4848
"domReady": "requirejs/domReady",
4949
"tinymce": "tiny_mce/tiny_mce_src"
5050
},

lib/web/mage/requirejs/static.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ define('jsbuild', [
282282
define('text', [
283283
'module',
284284
'buildTools',
285-
'requirejs/text'
285+
'mage/requirejs/text'
286286
], function (module, tools, text) {
287287
'use strict';
288288

0 commit comments

Comments
 (0)