Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolved : JS files located outside the web/js directory #16582

Prev Previous commit
Next Next commit
[changes as per suggession]
  • Loading branch information
hitesh-wagento committed Jul 19, 2018
commit 6ad9ea419bd09ffc5b17bd4342f432958ba395ff
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var config = {
zxcvbn: 'Magento_Customer/js/zxcvbn',
addressValidation: 'Magento_Customer/js/addressValidation',
'Magento_Customer/address': 'Magento_Customer/js/address',
'Magento_Customer/changeEmailPassword': 'Magento_Customer/js/change-email-password',
'Magento_Customer/change-email-password': 'Magento_Customer/js/change-email-password',
}
}
};
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ var config = {
'*': {
giftOptions: 'Magento_GiftMessage/js/gift-options',
extraOptions: 'Magento_GiftMessage/js/extra-options',
'Magento_GiftMessage/giftOptions': 'Magento_GiftMessage/js/gift-options',
'Magento_GiftMessage/extraOptions': 'Magento_GiftMessage/js/extra-options'
'Magento_GiftMessage/gift-options': 'Magento_GiftMessage/js/gift-options',
'Magento_GiftMessage/extra-options': 'Magento_GiftMessage/js/extra-options'
}
}
};
2 changes: 1 addition & 1 deletion app/code/Magento/Payment/view/frontend/requirejs-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var config = {
map: {
'*': {
creditCardType: 'Magento_Payment/js/cc-type',
'Magento_Payment/creditCardType': 'Magento_Payment/js/cc-type'
'Magento_Payment/cc-type': 'Magento_Payment/js/cc-type'
}
}
};
2 changes: 1 addition & 1 deletion app/code/Magento/Paypal/view/frontend/requirejs-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var config = {
map: {
'*': {
orderReview: 'Magento_Paypal/js/order-review',
'Magento_Paypal/orderReview': 'Magento_Paypal/js/order-review',
'Magento_Paypal/order-review': 'Magento_Paypal/js/order-review',
paypalCheckout: 'Magento_Paypal/js/paypal-checkout'
}
},
Expand Down
4 changes: 2 additions & 2 deletions app/code/Magento/Sales/view/frontend/requirejs-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ var config = {
'*': {
giftMessage: 'Magento_Sales/js/gift-message',
ordersReturns: 'Magento_Sales/js/orders-returns',
'Magento_Sales/giftMessage': 'Magento_Sales/js/gift-message',
'Magento_Sales/ordersReturns': 'Magento_Sales/js/orders-returns'
'Magento_Sales/gift-message': 'Magento_Sales/js/gift-message',
'Magento_Sales/orders-returns': 'Magento_Sales/js/orders-returns'
}
}
};
2 changes: 1 addition & 1 deletion app/code/Magento/Search/view/frontend/requirejs-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var config = {
map: {
'*': {
quickSearch: 'Magento_Search/js/form-mini',
'Magento_Search/quickSearch': 'Magento_Search/js/form-mini'
'Magento_Search/form-mini': 'Magento_Search/js/form-mini'
}
}
};
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var config = {
'*': {
editTrigger: 'mage/edit-trigger',
addClass: 'Magento_Translation/js/add-class',
'Magento_Translation/addClass': 'Magento_Translation/js/add-class'
'Magento_Translation/add-class': 'Magento_Translation/js/add-class'
}
},
deps: [
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Weee/view/frontend/requirejs-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var config = {
map: {
'*': {
'taxToggle': 'Magento_Weee/js/tax-toggle',
'Magento_Weee/taxToggle': 'Magento_Weee/js/tax-toggle'
'Magento_Weee/tax-toggle': 'Magento_Weee/js/tax-toggle'
}
}
};