From 6b9a3463381276783ea2346590655fe027444fdd Mon Sep 17 00:00:00 2001 From: noumo Date: Fri, 22 May 2015 12:25:14 +0300 Subject: [PATCH] slash fix --- assets/DateTimePickerAsset.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/assets/DateTimePickerAsset.php b/assets/DateTimePickerAsset.php index f715d28..69cf0a7 100644 --- a/assets/DateTimePickerAsset.php +++ b/assets/DateTimePickerAsset.php @@ -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'; } }