Skip to content

Commit

Permalink
it turned out that this dependency is redundant so we removed it
Browse files Browse the repository at this point in the history
  • Loading branch information
see613 committed Jun 16, 2015
1 parent ecac8a7 commit d864a2a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions assets/DateTimePickerAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ 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';
} 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->js[] = 'eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js';
$this->css[] = 'eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css';
}
}
Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"creocoder/yii2-nested-sets": "0.9.*",
"bower-asset/fancybox": "*",
"bower-asset/jquery.switcher": "*",
"bower-asset/bootstrap-datepicker": "*",
"bower-asset/eonasdan-bootstrap-datetimepicker": "^4.7@dev",
"2amigos/yii2-selectize-widget": "~1.0"
},
Expand Down

0 comments on commit d864a2a

Please sign in to comment.