File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
lib/internal/Magento/Framework/RequireJs Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ class Config
54
54
*/
55
55
const FULL_CONFIG_TEMPLATE = <<<config
56
56
(function(require){
57
- %base%
58
57
%function%
59
58
60
59
%usages%
@@ -134,7 +133,6 @@ public function __construct(
134
133
public function getConfig ()
135
134
{
136
135
$ distributedConfig = '' ;
137
- $ baseConfig = $ this ->getBaseConfig ();
138
136
$ customConfigFiles = $ this ->fileSource ->getFiles ($ this ->design ->getDesignTheme (), self ::CONFIG_FILE_NAME );
139
137
foreach ($ customConfigFiles as $ file ) {
140
138
/** @var $fileReader \Magento\Framework\Filesystem\File\Read */
@@ -148,8 +146,8 @@ public function getConfig()
148
146
}
149
147
150
148
$ fullConfig = str_replace (
151
- ['%function% ' , '%base% ' , ' % usages% ' ],
152
- [$ distributedConfig, $ baseConfig ],
149
+ ['%function% ' , '%usages% ' ],
150
+ [$ distributedConfig ],
153
151
self ::FULL_CONFIG_TEMPLATE
154
152
);
155
153
Original file line number Diff line number Diff line change @@ -129,7 +129,6 @@ public function testGetConfig()
129
129
130
130
$ expected = <<<expected
131
131
(function(require){
132
- require.config({"baseUrl":""});
133
132
(function() {
134
133
file_one.js content
135
134
require.config(config);
You can’t perform that action at this time.
0 commit comments