Skip to content

Commit

Permalink
slash fix
Browse files Browse the repository at this point in the history
  • Loading branch information
noumo committed May 22, 2015
1 parent 9936ff6 commit 6b9a346
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions assets/DateTimePickerAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ class DateTimePickerAsset extends \yii\web\AssetBundle
public function init()
{
if (YII_DEBUG) {
$this->js[] = 'moment\min\moment-with-locales.js';
$this->js[] = 'bootstrap-datepicker\dist\js\bootstrap-datepicker.js';
$this->js[] = 'eonasdan-bootstrap-datetimepicker\src\js\bootstrap-datetimepicker.js';
$this->css[] = 'eonasdan-bootstrap-datetimepicker\build\css\bootstrap-datetimepicker.css';
$this->js[] = 'moment/min/moment-with-locales.js';
$this->js[] = 'bootstrap-datepicker/dist/js/bootstrap-datepicker.js';
$this->js[] = 'eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js';
$this->css[] = 'eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.css';
} else {
$this->js[] = 'moment\min\moment-with-locales.min.js';
$this->js[] = 'bootstrap-datepicker\dist\js\bootstrap-datepicker.min.js';
$this->js[] = 'eonasdan-bootstrap-datetimepicker\build\js\bootstrap-datetimepicker.min.jsredactor.min.js';
$this->css[] = 'eonasdan-bootstrap-datetimepicker\build\css\bootstrap-datetimepicker.min.css';
$this->js[] = 'moment/min/moment-with-locales.min.js';
$this->js[] = 'bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js';
$this->js[] = 'eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.jsredactor.min.js';
$this->css[] = 'eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css';
}
}

Expand Down

0 comments on commit 6b9a346

Please sign in to comment.