Skip to content

Commit

Permalink
Merge pull request #337 from jaromero/fix-bootstrap-script-tags
Browse files Browse the repository at this point in the history
Fix incorrect bootstrap script tags
  • Loading branch information
silvenon committed Jun 17, 2015
2 parents d21506f + 4b70882 commit eade976
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ <h1>'Allo, 'Allo!</h1>
<% if (includeBootstrap) { -%>
<!-- build:js scripts/plugins.js -->
<% bsPlugins.forEach(function (plugin) { -%>
<script type="<%= bsPath + plugin %>.js"></script>
<script src="<%= bsPath + plugin %>.js"></script>
<% }) -%>
<!-- endbuild -->
<% } -%>
Expand Down
4 changes: 2 additions & 2 deletions test/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('Bootstrap feature', function () {
});

it('should output the correct <script> paths', function () {
assert.fileContent('app/index.html', '/bootstrap-sass/assets/javascripts/bootstrap/');
assert.fileContent('app/index.html', /src=\"(.*?)\/bootstrap-sass\/assets\/javascripts\/bootstrap\//);
});

it('should contain the font icon path variable', function () {
Expand All @@ -47,7 +47,7 @@ describe('Bootstrap feature', function () {
});

it('should output the correct <script> paths', function () {
assert.fileContent('app/index.html', '/bootstrap/js/');
assert.fileContent('app/index.html', /src=\"(.*?)\/bootstrap\/js\//);
});
});
});

0 comments on commit eade976

Please sign in to comment.