Skip to content
This repository has been archived by the owner on May 14, 2022. It is now read-only.

Commit

Permalink
Fix JS concatnation.
Browse files Browse the repository at this point in the history
  • Loading branch information
yuya-takeyama committed Jun 17, 2012
1 parent 58d2e80 commit 2b437a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
lessc ./vendor/bootstrap/less/bootstrap.less > public/css/bootstrap.css
lessc ./vendor/bootstrap/less/responsive.less > public/css/bootstrap-responsive.css
cat ./vendor/bootstrap/js/*.js > public/js/bootstrap.js
cat ./vendor/bootstrap/js/bootstrap-{transition,alert,button,carousel,collapse,dropdown,modal,tooltip,popover,scrollspy,tab,typeahead}.js > public/js/bootstrap.js
3 changes: 1 addition & 2 deletions views/layout.haml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
%link(href="/css/bootstrap.css" rel="stylesheet")
%link(href="/css/bootstrap-responsive.css" rel="stylesheet")
%script(src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js")
%script(src="/js/bootstrap-dropdown.js")
%script(src="/js/bootstrap-collapse.js")
%script(src="/js/bootstrap.js")
:javascript
$(document).ready(function () {
$('.dropdown-toggle').dropdown();
Expand Down

0 comments on commit 2b437a8

Please sign in to comment.