Skip to content
Browse files

build all the js together

  • Loading branch information...
1 parent 4366a4d commit 64e70984cd093f939e0d580b2076c26bf51750c1 Luke Closs committed
Showing with 10 additions and 7 deletions.
  1. +6 −0 Makefile
  2. +1 −7 index.html
  3. +3 −0 js/app.js
View
6 Makefile
@@ -0,0 +1,6 @@
+LUKEC_JS=js/luk.ec.js
+all:
+ cat js/jquery.min.js > $(LUKEC_JS)
+ cat js/bootstrap.js >> $(LUKEC_JS)
+ cat js/bootstrap-tooltip.js >> $(LUKEC_JS)
+ cat js/app.js >> $(LUKEC_JS)
View
8 index.html
@@ -11,13 +11,7 @@
</script>
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/bootstrap-responsive.css" rel="stylesheet">
- <script src="js/jquery.min.js"></script>
- <script src="js/bootstrap.js"></script>
- <script src="js/bootstrap-tooltip.js"></script>
- <script type="text/coffeescript">
- $ -> $("a.detail").tooltip()
- </script>
- <script src="js/coffee-script.js"></script>
+ <script src="js/luk.ec.js"></script>
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
View
3 js/app.js
@@ -0,0 +1,3 @@
+$(function() {
+ $("a.detail").tooltip();
+})

0 comments on commit 64e7098

Please sign in to comment.
Something went wrong with that request. Please try again.