Skip to content

Commit

Permalink
fix(config) Made jquery config inclusion optional
Browse files Browse the repository at this point in the history
  • Loading branch information
nyeholt committed Feb 19, 2019
1 parent 628f95a commit ef30993
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions _config/config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
Name: symbiote-datefields
---
SilverStripe\Admin\LeftAndMain:
extra_requirements_javascript:
- 'symbiote/symbiote-datefields:client/javascript/bootstrap-datepicker.js'
- 'symbiote/symbiote-datefields:client/javascript/datepicker.js'
extra_requirements_css:
- 'symbiote/symbiote-datefields:client/css/bootstrap-datepicker.css'
# Not required, but if you decide to use the bootstrap picker,
# you'll likely need the following enabled in your project config
# ---
# Name: symbiote-datefields
# ---
# SilverStripe\Admin\LeftAndMain:
# extra_requirements_javascript:
# - 'symbiote-library/symbiote-datefields:client/javascript/bootstrap-datepicker.js'
# - 'symbiote-library/symbiote-datefields:client/javascript/datepicker.js'
# extra_requirements_css:
# - 'symbiote-library/symbiote-datefields:client/css/bootstrap-datepicker.css'

0 comments on commit ef30993

Please sign in to comment.