File tree 1 file changed +7
-7
lines changed
app/code/Magento/Catalog/view/frontend/web/js/product/storage 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ define([
117
117
/**
118
118
* Subscribers list
119
119
*/
120
- subsctibers = { } ;
120
+ subscribers = { } ;
121
121
122
122
( function ( ) {
123
123
/**
@@ -189,12 +189,12 @@ define([
189
189
* @return void
190
190
*/
191
191
processSubscribers : function ( initialized , config ) {
192
- if ( subsctibers [ config . namespace ] ) {
193
- _ . each ( subsctibers [ config . namespace ] , function ( callback ) {
192
+ if ( subscribers [ config . namespace ] ) {
193
+ _ . each ( subscribers [ config . namespace ] , function ( callback ) {
194
194
callback ( initialized ) ;
195
195
} ) ;
196
196
197
- delete subsctibers [ config . namespace ] ;
197
+ delete subscribers [ config . namespace ] ;
198
198
}
199
199
} ,
200
200
@@ -209,9 +209,9 @@ define([
209
209
if ( storages [ namespace ] ) {
210
210
callback ( storages [ namespace ] ) ;
211
211
} else {
212
- subsctibers [ namespace ] ?
213
- subsctibers [ namespace ] . push ( callback ) :
214
- subsctibers [ namespace ] = [ callback ] ;
212
+ subscribers [ namespace ] ?
213
+ subscribers [ namespace ] . push ( callback ) :
214
+ subscribers [ namespace ] = [ callback ] ;
215
215
}
216
216
} ,
217
217
You can’t perform that action at this time.
0 commit comments