Skip to content
Permalink
Browse files

js file extensions on build

  • Loading branch information...
codecalm committed Sep 8, 2019
1 parent a38dfb1 commit 53de365d6f3dfb7a07a858d7be04f88e082d6cb6
Showing with 4 additions and 4 deletions.
  1. +1 −1 build/banner.js
  2. +3 −3 pages/_includes/layout/js.html
@@ -8,7 +8,7 @@ function getBanner(pluginFilename) {
* Tabler${pluginFilename ? ` ${pluginFilename}` : ''} v${pkg.version} (${pkg.homepage})
* Copyright 2018-${year} ${pkg.author}
* Licensed under ${pkg.license} (https://github.com/tabler/tabler/blob/master/LICENSE)
*/`;
*/\n\n`;
}

module.exports = getBanner;
@@ -5,15 +5,15 @@
<script src="{{ site.base }}/libs/imask/imask.min.js"></script>
<script src="{{ site.base }}/libs/selectize/js/standalone/selectize.min.js"></script>

<script src="{{ site.base }}/dist/js/tabler.js"></script>
<script src="{{ site.base }}/dist/js/tabler{% if jekyll.environment == 'production' %}.min{% endif %}.js"></script>

<!-- tabler charts -->
<script src="{{ site.base }}/libs/apexcharts/apexcharts.min.js"></script>
<script src="{{ site.base }}/libs/peity/jquery.peity.min.js"></script>
<script src="{{ site.base }}/dist/js/tabler-charts.js"></script>
<script src="{{ site.base }}/dist/js/tabler-charts{% if jekyll.environment == 'production' %}.min{% endif %}.js"></script>

<!-- demo scripts -->
<script src="{{ site.base }}/dist/js/demo.js"></script>
<script src="{{ site.base }}/dist/js/demo{% if jekyll.environment == 'production' %}.min{% endif %}.js"></script>

<script>
window.tabler = window.tabler || {};

0 comments on commit 53de365

Please sign in to comment.
You can’t perform that action at this time.