Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbedair committed Apr 28, 2014
1 parent 0d7d182 commit 09ff2ed
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
var bootstrapDatePicker;

(function ($) {
bootstrapDatePicker = $.fn.datepicker;
})(jQuery);
3 changes: 3 additions & 0 deletions src/assets/js/jquery-ui-no-conflict.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/components/packages.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
'depends' => array('jquery'),
'baseUrl' => $this->enableCdn ? '//cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.2.0/' : $this->getAssetsUrl() . '/bootstrap-datepicker/',
'css' => array($this->minify ? 'css/datepicker.min.css' : 'css/datepicker.css'),
'js' => array($this->minify ? 'js/bootstrap-datepicker.min.js' : 'js/bootstrap-datepicker.js')
'js' => array($this->minify ? 'js/bootstrap-datepicker.min.js' : 'js/bootstrap-datepicker.js', 'js/bootstrap-datepicker-noconflict.js')
// ... the noconflict code is in its own file so we do not want to touch the original js files to ease upgrading lib
),
'datetimepicker' => array(
'depends' => array('jquery'),
Expand Down

0 comments on commit 09ff2ed

Please sign in to comment.