File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
dev/tests/static/testsuite/Magento/Test/Legacy Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -112,12 +112,12 @@ public function testJsComponentsAreProperlyInitializedInDataMageInitAttribute()
112
112
{
113
113
$ invoker = new \Magento \Framework \App \Utility \AggregateInvoker ($ this );
114
114
$ invoker (
115
- /**
116
- * JS components in data-mage-init attributes should be initialized not in php.
117
- * JS components should be initialized in templates for them to be properly statically analyzed for bundling.
118
- *
119
- * @param string $file
120
- */
115
+ /**
116
+ * JS components in data-mage-init attributes should be initialized not in php.
117
+ * JS components should be initialized in templates for them to be properly statically analyzed for bundling.
118
+ *
119
+ * @param string $file
120
+ */
121
121
function ($ file ) {
122
122
$ whiteList = $ this ->getWhiteList ();
123
123
if (!in_array ($ file , $ whiteList , true )
@@ -167,12 +167,12 @@ public function testJsComponentsAreProperlyInitializedInXMagentoInitAttribute()
167
167
{
168
168
$ invoker = new \Magento \Framework \App \Utility \AggregateInvoker ($ this );
169
169
$ invoker (
170
- /**
171
- * JS components in x-magento-init attributes should be initialized not in php.
172
- * JS components should be initialized in templates for them to be properly statically analyzed for bundling.
173
- *
174
- * @param string $file
175
- */
170
+ /**
171
+ * JS components in x-magento-init attributes should be initialized not in php.
172
+ * JS components should be initialized in templates for them to be properly statically analyzed for bundling.
173
+ *
174
+ * @param string $file
175
+ */
176
176
function ($ file ) {
177
177
if (strpos ($ file , '/view/frontend/templates/ ' ) !== false
178
178
|| strpos ($ file , '/view/base/templates/ ' ) !== false
You can’t perform that action at this time.
0 commit comments