Skip to content

Commit f74c3b4

Browse files
committed
MAGETWO-50875: Random fails on FAT - CreateVirtualProductEntityTest and CreateSimpleProductEntityTest
- add short description to new parameters
1 parent c76ff68 commit f74c3b4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/web/mage/apply/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ define([
5555
return {
5656
/**
5757
* Initializes components assigned to HTML elements via [data-mage-init].
58-
*
59-
* @param context
58+
*
59+
* @param {HTMLElement} context - Element of context to search
6060
* @example Sample 'data-mage-init' declaration.
6161
* data-mage-init='{"path/to/component": {"foo": "bar"}}'
6262
*/

lib/web/mage/apply/scripts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ define([
9191
* to a 'data-mage-init' attribute of an elemennt found by provided selector.
9292
* Note: All found script nodes will be removed from DOM.
9393
*
94-
* @param context
94+
* @param {HTMLElement} context - Element of context to search
9595
* @returns {Array} An array of components not assigned to the specific element.
9696
*
9797
* @example Sample declaration.

0 commit comments

Comments
 (0)