File tree Expand file tree Collapse file tree 4 files changed +24
-16
lines changed
PageCache/view/frontend/web/js
lib/internal/Magento/Framework Expand file tree Collapse file tree 4 files changed +24
-16
lines changed Original file line number Diff line number Diff line change @@ -56,13 +56,17 @@ define([
56
56
}
57
57
}
58
58
59
- // rewrite jQuery contents()
60
- contents = function ( element ) {
61
- return $ . map ( element , function ( elem ) {
59
+ /**
60
+ * Rewrite jQuery contents().
61
+ *
62
+ * @param {jQuery } elem
63
+ */
64
+ contents = function ( elem ) {
65
+ return $ . map ( elem , function ( el ) {
62
66
try {
63
- return $ . nodeName ( elem , "iframe" ) ?
64
- elem . contentDocument || ( elem . contentWindow ? elem . contentWindow . document : [ ] ) :
65
- $ . merge ( [ ] , elem . childNodes ) ;
67
+ return $ . nodeName ( el , "iframe" ) ?
68
+ el . contentDocument || ( el . contentWindow ? el . contentWindow . document : [ ] ) :
69
+ $ . merge ( [ ] , el . childNodes ) ;
66
70
} catch ( e ) {
67
71
consoleLogger . error ( e ) ;
68
72
return [ ] ;
Original file line number Diff line number Diff line change 5
5
*/
6
6
7
7
/**
8
- * Sales order view items block
9
- *
10
8
* @author Magento Core Team <core@magentocommerce.com>
11
9
*/
12
10
namespace Magento \Sales \Block \Order ;
13
11
14
12
/**
13
+ * Sales order view items block.
14
+ *
15
15
* @api
16
16
* @since 100.0.2
17
17
*/
@@ -86,8 +86,9 @@ protected function _prepareLayout()
86
86
}
87
87
88
88
/**
89
- * Determine if the pager should be displayed for order items list
90
- * To be called from templates(after _prepareLayout())
89
+ * Determine if the pager should be displayed for order items list.
90
+ *
91
+ * To be called from templates(after _prepareLayout()).
91
92
*
92
93
* @return bool
93
94
* @since 100.1.7
@@ -100,7 +101,8 @@ public function isPagerDisplayed()
100
101
101
102
/**
102
103
* Get visible items for current page.
103
- * To be called from templates(after _prepareLayout())
104
+ *
105
+ * To be called from templates(after _prepareLayout()).
104
106
*
105
107
* @return \Magento\Framework\DataObject[]
106
108
* @since 100.1.7
@@ -111,8 +113,9 @@ public function getItems()
111
113
}
112
114
113
115
/**
114
- * Get pager HTML according to our requirements
115
- * To be called from templates(after _prepareLayout())
116
+ * Get pager HTML according to our requirements.
117
+ *
118
+ * To be called from templates(after _prepareLayout()).
116
119
*
117
120
* @return string HTML output
118
121
* @since 100.1.7
Original file line number Diff line number Diff line change 5
5
*/
6
6
namespace Magento \Framework \Locale ;
7
7
8
+ /**
9
+ * Allowed locale and currency configuration.
10
+ */
8
11
class Config implements \Magento \Framework \Locale \ConfigInterface
9
12
{
10
13
/**
Original file line number Diff line number Diff line change @@ -103,9 +103,7 @@ public function __construct(
103
103
}
104
104
105
105
/**
106
- * {@inheritdoc}
107
- *
108
- * @return string
106
+ * @inheritdoc
109
107
*/
110
108
public function getType ()
111
109
{
You can’t perform that action at this time.
0 commit comments