Skip to content

Commit e543513

Browse files
author
Denys Rul
committed
MAGETWO-33932: Add ability to initialize modules by selector
- Update comments
1 parent f4e0042 commit e543513

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/web/mage/apply/scripts.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ define([
6161
}
6262

6363
/**
64-
* Searches for script tags whith a 'text/x-mage-init' type.
64+
* Searches for script tags whith a 'text/x-magento-init' type.
6565
*
6666
* @param {HTMLElement} [parent=document.body] - Optional node inside of which to perform search.
6767
* @returns {Array} An array of elements script nodes.
@@ -101,7 +101,7 @@ define([
101101
* @returns {Array} An array of components not assigned to the specific element.
102102
*
103103
* @example Sample declaration.
104-
* <script type="text/x-mage-init">
104+
* <script type="text/x-magento-init">
105105
* {
106106
* "body": {
107107
* "path/to/component": {"foo": "bar"}

0 commit comments

Comments
 (0)