Skip to content

Commit

Permalink
directory separator bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
mehrna committed Aug 20, 2016
1 parent 993145c commit 460f7aa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 24 deletions.
7 changes: 1 addition & 6 deletions DatepickerBlueThemeAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
*/
class DatepickerBlueThemeAsset extends AssetBundle
{
public $sourcePath = "@bower/persian-datepicker/dist";
public $css = [
'css/theme/persian-datepicker-blue.css',
];
Expand All @@ -25,10 +26,4 @@ class DatepickerBlueThemeAsset extends AssetBundle
public $depends = [
'mrlco\datepicker\DateAsset',
];
public function init()
{
$s = DIRECTORY_SEPARATOR;
$this->sourcePath = "@bower{$s}persian-datepicker{$s}dist";
parent::init();
}
}
7 changes: 1 addition & 6 deletions DatepickerCheerupThemeAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
*/
class DatepickerCheerupThemeAsset extends AssetBundle
{
public $sourcePath = "@bower/persian-datepicker/dist";
public $css = [
'css/theme/persian-datepicker-cheerup.css',
];
Expand All @@ -25,10 +26,4 @@ class DatepickerCheerupThemeAsset extends AssetBundle
public $depends = [
'mrlco\datepicker\DateAsset',
];
public function init()
{
$s = DIRECTORY_SEPARATOR;
$this->sourcePath = "@bower{$s}persian-datepicker{$s}dist";
parent::init();
}
}
7 changes: 1 addition & 6 deletions DatepickerDarkThemeAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
*/
class DatepickerDarkThemeAsset extends AssetBundle
{
public $sourcePath = "@bower/persian-datepicker/dist";
public $css = [
'css/theme/persian-datepicker-dark.css',
];
Expand All @@ -25,10 +26,4 @@ class DatepickerDarkThemeAsset extends AssetBundle
public $depends = [
'mrlco\datepicker\DateAsset',
];
public function init()
{
$s = DIRECTORY_SEPARATOR;
$this->sourcePath = "@bower{$s}persian-datepicker{$s}dist";
parent::init();
}
}
7 changes: 1 addition & 6 deletions DatepickerRedblackThemeAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
*/
class DatepickerRedblackThemeAsset extends AssetBundle
{
public $sourcePath = "@bower/persian-datepicker/dist";
public $css = [
'css/theme/persian-datepicker-redblack.css',
];
Expand All @@ -25,10 +26,4 @@ class DatepickerRedblackThemeAsset extends AssetBundle
public $depends = [
'mrlco\datepicker\DateAsset',
];
public function init()
{
$s = DIRECTORY_SEPARATOR;
$this->sourcePath = "@bower{$s}persian-datepicker{$s}dist";
parent::init();
}
}

0 comments on commit 460f7aa

Please sign in to comment.