Commit 8ea9aef8 authored by Stephen Sawchuk's avatar Stephen Sawchuk Committed by Sindre Sorhus

component.json -> bower.json

Closes #540
parent e89cbb49
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Agility.js • TodoMVC</title> <title>Agility.js • TodoMVC</title>
<link rel="stylesheet" href="components/todomvc-common/base.css"> <link rel="stylesheet" href="bower_components/todomvc-common/base.css">
</head> </head>
<body> <body>
<section id="todoapp"> <section id="todoapp">
...@@ -47,9 +47,9 @@ ...@@ -47,9 +47,9 @@
<p>Created by <a href="http://github.com/tshm/todomvc/">Tosh Shimayama</a></p> <p>Created by <a href="http://github.com/tshm/todomvc/">Tosh Shimayama</a></p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a></p> <p>Part of <a href="http://todomvc.com">TodoMVC</a></p>
</footer> </footer>
<script src="components/todomvc-common/base.js"></script> <script src="bower_components/todomvc-common/base.js"></script>
<script src="components/jquery/jquery.js"></script> <script src="bower_components/jquery/jquery.js"></script>
<script src="components/agility/agility.js"></script> <script src="bower_components/agility/agility.js"></script>
<script src="js/localstorage.js"></script> <script src="js/localstorage.js"></script>
<script src="js/app.js"></script> <script src="js/app.js"></script>
</body> </body>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>AngularJS • TodoMVC</title> <title>AngularJS • TodoMVC</title>
<link rel="stylesheet" href="components/todomvc-common/base.css"> <link rel="stylesheet" href="bower_components/todomvc-common/base.css">
<style>[ng-cloak] {display: none}</style> <style>[ng-cloak] {display: none}</style>
</head> </head>
<body> <body>
...@@ -59,8 +59,8 @@ ...@@ -59,8 +59,8 @@
</p> </p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a></p> <p>Part of <a href="http://todomvc.com">TodoMVC</a></p>
</footer> </footer>
<script src="components/todomvc-common/base.js"></script> <script src="bower_components/todomvc-common/base.js"></script>
<script src="components/angular/angular.js"></script> <script src="bower_components/angular/angular.js"></script>
<script src="js/app.js"></script> <script src="js/app.js"></script>
<script src="js/controllers/todoCtrl.js"></script> <script src="js/controllers/todoCtrl.js"></script>
<script src="js/services/todoStorage.js"></script> <script src="js/services/todoStorage.js"></script>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>AngularJS • TodoMVC</title> <title>AngularJS • TodoMVC</title>
<link rel="stylesheet" href="components/todomvc-common/base.css"> <link rel="stylesheet" href="bower_components/todomvc-common/base.css">
<style>[ng-cloak] {display: none}</style> <style>[ng-cloak] {display: none}</style>
</head> </head>
<body> <body>
...@@ -59,8 +59,8 @@ ...@@ -59,8 +59,8 @@
</p> </p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a></p> <p>Part of <a href="http://todomvc.com">TodoMVC</a></p>
</footer> </footer>
<script src="components/todomvc-common/base.js"></script> <script src="bower_components/todomvc-common/base.js"></script>
<script src="components/angular/angular.js"></script> <script src="bower_components/angular/angular.js"></script>
<script src="js/app.js"></script> <script src="js/app.js"></script>
<script src="js/controllers/todoCtrl.js"></script> <script src="js/controllers/todoCtrl.js"></script>
<script src="js/services/todoStorage.js"></script> <script src="js/services/todoStorage.js"></script>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Backbone.js • TodoMVC</title> <title>Backbone.js • TodoMVC</title>
<link rel="stylesheet" href="components/todomvc-common/base.css"> <link rel="stylesheet" href="bower_components/todomvc-common/base.css">
</head> </head>
<body> <body>
<section id="todoapp"> <section id="todoapp">
...@@ -49,11 +49,11 @@ ...@@ -49,11 +49,11 @@
<button id="clear-completed">Clear completed (<%= completed %>)</button> <button id="clear-completed">Clear completed (<%= completed %>)</button>
<% } %> <% } %>
</script> </script>
<script src="components/todomvc-common/base.js"></script> <script src="bower_components/todomvc-common/base.js"></script>
<script src="components/jquery/jquery.js"></script> <script src="bower_components/jquery/jquery.js"></script>
<script src="components/underscore/underscore.js"></script> <script src="bower_components/underscore/underscore.js"></script>
<script src="components/backbone/backbone.js"></script> <script src="bower_components/backbone/backbone.js"></script>
<script src="components/backbone.localStorage/backbone.localStorage.js"></script> <script src="bower_components/backbone.localStorage/backbone.localStorage.js"></script>
<script src="js/models/todo.js"></script> <script src="js/models/todo.js"></script>
<script src="js/collections/todos.js"></script> <script src="js/collections/todos.js"></script>
<script src="js/views/todos.js"></script> <script src="js/views/todos.js"></script>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>CanJS • TodoMVC</title> <title>CanJS • TodoMVC</title>
<link rel="stylesheet" href="components/todomvc-common/base.css"> <link rel="stylesheet" href="bower_components/todomvc-common/base.css">
</head> </head>
<body> <body>
<section id="todoapp"> <section id="todoapp">
...@@ -15,10 +15,10 @@ ...@@ -15,10 +15,10 @@
<p>Part of <a href="http://todomvc.com">TodoMVC</a></p> <p>Part of <a href="http://todomvc.com">TodoMVC</a></p>
</footer> </footer>
<script src="components/jquery/jquery.js"></script> <script src="bower_components/jquery/jquery.js"></script>
<script src="components/todomvc-common/base.js"></script> <script src="bower_components/todomvc-common/base.js"></script>
<script src="components/canjs/can.jquery.js"></script> <script src="bower_components/canjs/can.jquery.js"></script>
<script src="components/canjs-localstorage/can.localstorage.js"></script> <script src="bower_components/canjs-localstorage/can.localstorage.js"></script>
<script src="js/lib/can.mustache.min.js"></script> <script src="js/lib/can.mustache.min.js"></script>
<script src="js/models/todo.js"></script> <script src="js/models/todo.js"></script>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Closure • TodoMVC</title> <title>Closure • TodoMVC</title>
<link rel="stylesheet" href="components/todomvc-common/base.css"> <link rel="stylesheet" href="bower_components/todomvc-common/base.css">
</head> </head>
<body> <body>
<section id="todoapp"> <section id="todoapp">
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
<p>Created by <a href="http://www.scottlogic.co.uk/blog/chris/">Chris Price</a></p> <p>Created by <a href="http://www.scottlogic.co.uk/blog/chris/">Chris Price</a></p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a></p> <p>Part of <a href="http://todomvc.com">TodoMVC</a></p>
</footer> </footer>
<script src="components/todomvc-common/base.js"></script> <script src="bower_components/todomvc-common/base.js"></script>
<!-- The compiled version (to update run java -jar build/plovr.jar build plovr.json > js/compiled.js) --> <!-- The compiled version (to update run java -jar build/plovr.jar build plovr.json > js/compiled.js) -->
<script type="text/javascript" src="js/compiled.js"></script> <script type="text/javascript" src="js/compiled.js"></script>
<!-- The RAW development version (to serve the files run java -jar build/plovr.jar serve plovr.json) --> <!-- The RAW development version (to serve the files run java -jar build/plovr.jar serve plovr.json) -->
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>ember.js • TodoMVC</title> <title>ember.js • TodoMVC</title>
<link rel="stylesheet" href="components/todomvc-common/base.css"> <link rel="stylesheet" href="bower_components/todomvc-common/base.css">
</head> </head>
<body> <body>
<script type="text/x-handlebars" data-template-name="todos"> <script type="text/x-handlebars" data-template-name="todos">
...@@ -62,13 +62,13 @@ ...@@ -62,13 +62,13 @@
<p>Part of <a href="http://todomvc.com">TodoMVC</a></p> <p>Part of <a href="http://todomvc.com">TodoMVC</a></p>
</footer> </footer>
</script> </script>
<script src="components/todomvc-common/base.js"></script> <script src="bower_components/todomvc-common/base.js"></script>
<script src="components/jquery/jquery.js"></script> <script src="bower_components/jquery/jquery.js"></script>
<script src="components/handlebars/handlebars.js"></script> <script src="bower_components/handlebars/handlebars.js"></script>
<script src="components/ember/ember.js"></script> <script src="bower_components/ember/ember.js"></script>
<!-- TODO: change out with a component when a built one is available on Bower --> <!-- TODO: change out with a component when a built one is available on Bower -->
<script src="js/libs/ember-data.js"></script> <script src="js/libs/ember-data.js"></script>
<script src="components/ember-localstorage-adapter/localstorage_adapter.js"></script> <script src="bower_components/ember-localstorage-adapter/localstorage_adapter.js"></script>
<script src="js/app.js"></script> <script src="js/app.js"></script>
<script src="js/router.js"></script> <script src="js/router.js"></script>
<script src="js/models/todo.js"></script> <script src="js/models/todo.js"></script>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>jQuery • TodoMVC</title> <title>jQuery • TodoMVC</title>
<link rel="stylesheet" href="components/todomvc-common/base.css"> <link rel="stylesheet" href="bower_components/todomvc-common/base.css">
<link rel="stylesheet" href="css/app.css"> <link rel="stylesheet" href="css/app.css">
</head> </head>
<body> <body>
...@@ -44,9 +44,9 @@ ...@@ -44,9 +44,9 @@
<span id="todo-count"><strong>{{activeTodoCount}}</strong> {{activeTodoWord}} left</span> <span id="todo-count"><strong>{{activeTodoCount}}</strong> {{activeTodoWord}} left</span>
{{#if completedTodos}}<button id="clear-completed">Clear completed ({{completedTodos}})</button>{{/if}} {{#if completedTodos}}<button id="clear-completed">Clear completed ({{completedTodos}})</button>{{/if}}
</script> </script>
<script src="components/todomvc-common/base.js"></script> <script src="bower_components/todomvc-common/base.js"></script>
<script src="components/jquery/jquery.js"></script> <script src="bower_components/jquery/jquery.js"></script>
<script src="components/handlebars/handlebars.js"></script> <script src="bower_components/handlebars/handlebars.js"></script>
<script src="js/app.js"></script> <script src="js/app.js"></script>
</body> </body>
</html> </html>
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"> <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<title>Knockout.js • TodoMVC</title> <title>Knockout.js • TodoMVC</title>
<link rel="stylesheet" href="components/todomvc-common/base.css"> <link rel="stylesheet" href="bower_components/todomvc-common/base.css">
</head> </head>
<body> <body>
<section id="todoapp"> <section id="todoapp">
...@@ -54,9 +54,9 @@ ...@@ -54,9 +54,9 @@
<p>Patches/fixes for cross-browser compat: <a href="http://twitter.com/addyosmani">Addy Osmani</a></p> <p>Patches/fixes for cross-browser compat: <a href="http://twitter.com/addyosmani">Addy Osmani</a></p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a></p> <p>Part of <a href="http://todomvc.com">TodoMVC</a></p>
</footer> </footer>
<script src="components/todomvc-common/base.js"></script> <script src="bower_components/todomvc-common/base.js"></script>
<script src="components/knockout.js/knockout.js"></script> <script src="bower_components/knockout.js/knockout.js"></script>
<script src="components/director/build/director.js"></script> <script src="bower_components/director/build/director.js"></script>
<script src="js/app.js"></script> <script src="js/app.js"></script>
</body> </body>
</html> </html>
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>Maria • TodoMVC</title> <title>Maria • TodoMVC</title>
<link href="components/todomvc-common/base.css" rel="stylesheet"> <link href="bower_components/todomvc-common/base.css" rel="stylesheet">
<link href="css/app.css" rel="stylesheet"> <link href="css/app.css" rel="stylesheet">
</head> </head>
<body> <body>
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
<p>Part of <a href="http://todomvc.com">TodoMVC</a></p> <p>Part of <a href="http://todomvc.com">TodoMVC</a></p>
</footer> </footer>
<script src="components/todomvc-common/base.js"></script> <script src="bower_components/todomvc-common/base.js"></script>
<script src="components/director/build/director.js"></script> <script src="bower_components/director/build/director.js"></script>
<script src="lib/maria/maria.js"></script> <script src="lib/maria/maria.js"></script>
<script src="lib/aristocrat/aristocrat.js"></script> <script src="lib/aristocrat/aristocrat.js"></script>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Spine.js • TodoMVC</title> <title>Spine.js • TodoMVC</title>
<link rel="stylesheet" href="components/todomvc-common/base.css"> <link rel="stylesheet" href="bower_components/todomvc-common/base.css">
</head> </head>
<body> <body>
<section id="todoapp"> <section id="todoapp">
...@@ -51,12 +51,12 @@ ...@@ -51,12 +51,12 @@
</li> </li>
{{/this}} {{/this}}
</script> </script>
<script src="components/todomvc-common/base.js"></script> <script src="bower_components/todomvc-common/base.js"></script>
<script src="components/jquery/jquery.js"></script> <script src="bower_components/jquery/jquery.js"></script>
<script src="components/handlebars/handlebars.js"></script> <script src="bower_components/handlebars/handlebars.js"></script>
<script src="components/spine/lib/spine.js"></script> <script src="bower_components/spine/lib/spine.js"></script>
<script src="components/spine/lib/route.js"></script> <script src="bower_components/spine/lib/route.js"></script>
<script src="components/spine/lib/local.js"></script> <script src="bower_components/spine/lib/local.js"></script>
<script src="js/controllers/todos.js"></script> <script src="js/controllers/todos.js"></script>
<script src="js/models/todo.js"></script> <script src="js/models/todo.js"></script>
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Backbone.js + RequireJS • TodoMVC</title> <title>Backbone.js + RequireJS • TodoMVC</title>
<link rel="stylesheet" href="components/todomvc-common/base.css"> <link rel="stylesheet" href="bower_components/todomvc-common/base.css">
<script src="components/todomvc-common/base.js"></script> <script src="bower_components/todomvc-common/base.js"></script>
</head> </head>
<body> <body>
<section id="todoapp"> <section id="todoapp">
...@@ -25,6 +25,6 @@ ...@@ -25,6 +25,6 @@
<p>Written by <a href="http://addyosmani.github.com/todomvc/">Addy Osmani</a></p> <p>Written by <a href="http://addyosmani.github.com/todomvc/">Addy Osmani</a></p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a></p> <p>Part of <a href="http://todomvc.com">TodoMVC</a></p>
</footer> </footer>
<script data-main="js/main" src="components/requirejs/require.js"></script> <script data-main="js/main" src="bower_components/requirejs/require.js"></script>
</body> </body>
</html> </html>
...@@ -22,11 +22,11 @@ require.config({ ...@@ -22,11 +22,11 @@ require.config({
} }
}, },
paths: { paths: {
jquery: '../components/jquery/jquery', jquery: '../bower_components/jquery/jquery',
underscore: '../components/underscore/underscore', underscore: '../bower_components/underscore/underscore',
backbone: '../components/backbone/backbone', backbone: '../bower_components/backbone/backbone',
backboneLocalstorage: '../components/backbone.localStorage/backbone.localStorage', backboneLocalstorage: '../bower_components/backbone.localStorage/backbone.localStorage',
text: '../components/requirejs-text/text' text: '../bower_components/requirejs-text/text'
} }
}); });
......
...@@ -3,23 +3,23 @@ ...@@ -3,23 +3,23 @@
require.config({ require.config({
baseUrl: './', baseUrl: './',
paths: { paths: {
jquery: 'components/jquery/jquery', jquery: 'bower_components/jquery/jquery',
es5shim: 'components/es5-shim/es5-shim', es5shim: 'bower_components/es5-shim/es5-shim',
es5sham: 'components/es5-shim/es5-sham', es5sham: 'bower_components/es5-shim/es5-sham',
text: 'components/requirejs/plugins/text' text: 'bower_components/requirejs/plugins/text'
}, },
map: { map: {
'*': { '*': {
'flight/component': 'components/flight/lib/component', 'flight/component': 'bower_components/flight/lib/component',
'depot': 'components/depot/depot' 'depot': 'bower_components/depot/depot'
} }
}, },
shim: { shim: {
'components/flight/lib/index': { 'bower_components/flight/lib/index': {
deps: ['jquery', 'es5shim', 'es5sham'] deps: ['jquery', 'es5shim', 'es5sham']
}, },
'app/js/app': { 'app/js/app': {
deps: ['components/flight/lib/index'] deps: ['bower_components/flight/lib/index']
} }
} }
}); });
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment