Skip to content

Commit

Permalink
Switch the jQuery example over to NPM
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurvr committed Feb 2, 2015
1 parent 0cb634d commit 410b035
Show file tree
Hide file tree
Showing 9 changed files with 330 additions and 307 deletions.
22 changes: 11 additions & 11 deletions examples/jquery/.gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
bower_components/jquery
!bower_components/jquery/dist/jquery.js
node_modules/jquery
!node_modules/jquery/dist/jquery.js

bower_components/director
!bower_components/director/build/director.js
node_modules/director
!node_modules/director/build/director.js

bower_components/handlebars
!bower_components/handlebars/handlebars.js
node_modules/handlebars
!node_modules/handlebars/handlebars.js

bower_components/todomvc-app-css
!bower_components/todomvc-app-css/index.css
node_modules/todomvc-app-css
!node_modules/todomvc-app-css/index.css

bower_components/todomvc-common
!bower_components/todomvc-common/base.js
!bower_components/todomvc-common/base.css
node_modules/todomvc-common
!node_modules/todomvc-common/base.js
!node_modules/todomvc-common/base.css
12 changes: 6 additions & 6 deletions examples/jquery/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<title>jQuery • TodoMVC</title>
<link rel="stylesheet" href="bower_components/todomvc-common/base.css">
<link rel="stylesheet" href="bower_components/todomvc-app-css/index.css">
<link rel="stylesheet" href="node_modules/todomvc-common/base.css">
<link rel="stylesheet" href="node_modules/todomvc-app-css/index.css">
<link rel="stylesheet" href="css/app.css">
</head>
<body>
Expand Down Expand Up @@ -52,10 +52,10 @@ <h1>todos</h1>
</ul>
{{#if completedTodos}}<button id="clear-completed">Clear completed ({{completedTodos}})</button>{{/if}}
</script>
<script src="bower_components/todomvc-common/base.js"></script>
<script src="bower_components/jquery/dist/jquery.js"></script>
<script src="bower_components/handlebars/handlebars.js"></script>
<script src="bower_components/director/build/director.js"></script>
<script src="node_modules/todomvc-common/base.js"></script>
<script src="node_modules/jquery/dist/jquery.js"></script>
<script src="node_modules/handlebars/dist/handlebars.js"></script>
<script src="node_modules/director/build/director.js"></script>
<script src="js/app.js"></script>
</body>
</html>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 410b035

Please sign in to comment.