Skip to content

Commit

Permalink
Merge pull request #7 from koala-framework/dependencies
Browse files Browse the repository at this point in the history
Load javascript dependencies from new package kwc-shop
  • Loading branch information
lllHuber committed Feb 16, 2018
2 parents 2aad2f7 + 134ad9d commit 2c696c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion KwcShop/Kwc/Shop/Cart/Checkout/Component.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static function getSettings($param = null)
$ret['menuConfig'] = 'KwcShop_Kwc_Shop_Cart_Checkout_MenuConfig';

$ret['assetsAdmin']['dep'][] = 'ExtFormDateField';
$ret['assetsAdmin']['files'][] = 'kwf/Kwc/Shop/Cart/Checkout/OrdersPanel.js';
$ret['assetsAdmin']['files'][] = 'kwcShop/KwcShop/Kwc/Shop/Cart/Checkout/OrdersPanel.js';

return $ret;
}
Expand Down
2 changes: 1 addition & 1 deletion KwcShop/Kwc/Shop/Cart/Plugins/Voucher/Component.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public static function getSettings($param = null)
{
$ret = parent::getSettings($param);
$ret['componentName'] = trlKwfStatic('Vouchers');
$ret['assetsAdmin']['files'][] = 'kwf/Kwc/Shop/Cart/Plugins/Voucher/Panel.js';
$ret['assetsAdmin']['files'][] = 'kwcShop/KwcShop/Kwc/Shop/Cart/Plugins/Voucher/Panel.js';
$ret['extConfig'] = 'KwcShop_Kwc_Shop_Cart_Plugins_Voucher_ExtConfig';
$ret['menuConfig'] = 'KwcShop_Kwc_Shop_Cart_Plugins_Voucher_MenuConfig';
return $ret;
Expand Down
2 changes: 2 additions & 0 deletions dependencies.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[config]
pathType = kwcShop

0 comments on commit 2c696c2

Please sign in to comment.