Commit c3a25440 authored by Sindre Sorhus's avatar Sindre Sorhus

Add ie.js and analytics to the labs apps not currently in pull request queue

parent 02166867
...@@ -5,6 +5,9 @@ ...@@ -5,6 +5,9 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Batman • TodoMVC</title> <title>Batman • TodoMVC</title>
<link rel="stylesheet" href="../../../assets/base.css"> <link rel="stylesheet" href="../../../assets/base.css">
<!--[if IE]>
<script src="../../../assets/ie.js"></script>
<![endif]-->
</head> </head>
<body> <body>
<div data-yield="main"></div> <div data-yield="main"></div>
...@@ -59,13 +62,12 @@ ...@@ -59,13 +62,12 @@
</section> </section>
<footer id="info"> <footer id="info">
<p>Double-click to edit a todo</p> <p>Double-click to edit a todo</p>
<p>Template by <a href="http://sindresorhus.com">Sindre Sorhus</a></p> <p>Template by <a href="http://github.com/sindresorhus">Sindre Sorhus</a></p>
<p>Created by <a href="http://batmanjs.org">Harry Brundage</a></p> <p>Created by <a href="http://batmanjs.org">Harry Brundage</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>
</div> </div>
<script src="../../../assets/base.js"></script> <script src="../../../assets/base.js"></script>
<script src="js/es5-shim.js"></script>
<script src="js/lib/batman.js"></script> <script src="js/lib/batman.js"></script>
<script src="js/app.js"></script> <script src="js/app.js"></script>
</body> </body>
......
...@@ -5,6 +5,9 @@ ...@@ -5,6 +5,9 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Dijon • TodoMVC</title> <title>Dijon • TodoMVC</title>
<link rel="stylesheet" href="../../../assets/base.css"> <link rel="stylesheet" href="../../../assets/base.css">
<!--[if IE]>
<script src="../../../assets/ie.js"></script>
<![endif]-->
</head> </head>
<body> <body>
<section id="todoapp"> <section id="todoapp">
...@@ -24,7 +27,7 @@ ...@@ -24,7 +27,7 @@
</section> </section>
<footer id="info"> <footer id="info">
<p>Double-click to edit a todo</p> <p>Double-click to edit a todo</p>
<p>Based on app and template by <a href="http://sindresorhus.com">Sindre Sorhus</a></p> <p>Based on app and template by <a href="http://github.com/sindresorhus">Sindre Sorhus</a></p>
<p>Created by <a href="http://www.creynders.be">Camille Reynders</a></p> <p>Created by <a href="http://www.creynders.be">Camille Reynders</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>
...@@ -40,6 +43,7 @@ ...@@ -40,6 +43,7 @@
</li> </li>
{{/this}} {{/this}}
</script> </script>
<script src="../../../assets/base.js"></script>
<script src="../../../assets/jquery.min.js"></script> <script src="../../../assets/jquery.min.js"></script>
<script src="../../../assets/handlebars.min.js"></script> <script src="../../../assets/handlebars.min.js"></script>
<script src="js/lib/dijon-0.5.3.min.js"></script> <script src="js/lib/dijon-0.5.3.min.js"></script>
......
...@@ -3,17 +3,20 @@ ...@@ -3,17 +3,20 @@
<head> <head>
<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>DUEL &bull; TodoMVC</title> <title>DUEL TodoMVC</title>
<link rel="stylesheet" href="/css/styles.merge"> <link rel="stylesheet" href="/css/styles.merge">
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--> <!--[if IE]>
<script src="../../../assets/ie.js"></script>
<![endif]-->
</head> </head>
<body> <body>
<footer id="info"> <footer id="info">
<p>Double-click to edit a todo</p> <p>Double-click to edit a todo</p>
<p>Template by <a href="http://sindresorhus.com">Sindre Sorhus</a></p> <p>Template by <a href="http://github.com/sindresorhus">Sindre Sorhus</a></p>
<p>Ported to <a href="http://duelengine.org">DUEL</a> by <a href="http://mck.me">Stephen McKamey</a></p> <p>Ported to <a href="http://duelengine.org">DUEL</a> by <a href="http://mck.me">Stephen McKamey</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="../../../assets/base.js"></script>
<script src="/js/scripts.merge"></script> <script src="/js/scripts.merge"></script>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -7,16 +7,18 @@ ...@@ -7,16 +7,18 @@
<title>DUEL &bull; TodoMVC</title> <title>DUEL &bull; TodoMVC</title>
<link rel="stylesheet" href="./cdn/502117dcda6b1a71004e818c348c9de5fc80966a.css" /> <link rel="stylesheet" href="./cdn/502117dcda6b1a71004e818c348c9de5fc80966a.css" />
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--> <!--[if IE]>
<script src="../../../assets/ie.js"></script>
<![endif]-->
</head> </head>
<body> <body>
<footer id="info"> <footer id="info">
<p>Double-click to edit a todo</p> <p>Double-click to edit a todo</p>
<p>Template by <a href="http://sindresorhus.com">Sindre Sorhus</a></p> <p>Template by <a href="http://github.com/sindresorhus">Sindre Sorhus</a></p>
<p>Ported to <a href="http://duelengine.org">DUEL</a> by <a href="http://mck.me">Stephen McKamey</a></p> <p>Ported to <a href="http://duelengine.org">DUEL</a> by <a href="http://mck.me">Stephen McKamey</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="../../../assets/base.js"></script>
<script src="./cdn/1de7392f10ea2465d68b839144090d158ba7730f.js"></script> <script src="./cdn/1de7392f10ea2465d68b839144090d158ba7730f.js"></script>
</body> </body>
......
<!DOCTYPE html> <!doctype html>
<html> <html>
<head> <head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Fidel</title> <title>Fidel</title>
<link href="stylesheets/todos.css" media="all" rel="stylesheet" type="text/css"/> <link href="stylesheets/todos.css" rel="stylesheet">
<!--<script src="vendor/live.js"></script>--> <!--[if IE]>
<script src="../../../assets/ie.js"></script>
<![endif]-->
</head> </head>
<body> <body>
<!-- Todo App Interface -->
<div id="todoapp"> <div id="todoapp">
<div class="title"> <div class="title">
<h1>Todos</h1> <h1>todos</h1>
</div> </div>
<div class="content"> <div class="content">
<div id="create-todo"> <div id="create-todo">
<input data-element="input" placeholder="What needs to be done?" type="text" /> <input data-element="input" placeholder="What needs to be done?" type="text">
<span class="ui-tooltip-top" style="display:none;">Press Enter to save this task</span>
</div> </div>
<div id="todos"> <div id="todos">
<ul id="todo-list" data-element="todosContainer"></ul> <ul id="todo-list" data-element="todosContainer"></ul>
</div> </div>
<div id="todo-stats" data-element="statsContainer"></div> <div id="todo-stats" data-element="statsContainer"></div>
</div> </div>
</div> </div>
<div id="credits"> <div id="credits">
<p>Created by <p>Created by
<br /> <br />
...@@ -42,9 +31,6 @@ ...@@ -42,9 +31,6 @@
<br /> <br />
<p>Part of <a href="http://todomvc.com">TodoMVC</a>.</p> <p>Part of <a href="http://todomvc.com">TodoMVC</a>.</p>
</div> </div>
<!-- Templates -->
<script type="text/template" id="item-template"> <script type="text/template" id="item-template">
<li class="todo {!= todo.done ? 'done' : '' !}" data-todoid="{!= todo.guid !}"> <li class="todo {!= todo.done ? 'done' : '' !}" data-todoid="{!= todo.guid !}">
<div class="display"> <div class="display">
...@@ -57,7 +43,6 @@ ...@@ -57,7 +43,6 @@
</div> </div>
</li> </li>
</script> </script>
<script type="text/template" id="stats-template"> <script type="text/template" id="stats-template">
{! if (total) { !} {! if (total) { !}
<span class="todo-count"> <span class="todo-count">
...@@ -74,15 +59,9 @@ ...@@ -74,15 +59,9 @@
</span> </span>
{! } !} {! } !}
</script> </script>
<script src="../../../assets/base.js"></script>
<script src="vendor/json2.js"></script> <script src="../../../assets/jquery.min.js"></script>
<script src="vendor/jquery-1.6.4.min.js"></script>
<script src="vendor/fidel.js"></script> <script src="vendor/fidel.js"></script>
<!--<script src="../../lib/core.js"></script>-->
<!--<script src="../../lib/class.js"></script>-->
<!--<script src="../../lib/events.js"></script>-->
<!--<script src="../../lib/controller.js"></script>-->
<script src="app.js"></script> <script src="app.js"></script>
</body> </body>
</html> </html>
\ No newline at end of file
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Meteor • TodoMVC</title> <title>Meteor • TodoMVC</title>
<!--[if IE]>
<script src="../../../assets/ie.js"></script>
<![endif]-->
</head> </head>
<body> <body>
<section id="todoapp"> <section id="todoapp">
{{> todo}} {{> todo}}
</section> </section>
<footer id="info"> <footer id="info">
<p>Double-click to edit a todo</p> <p>Double-click to edit a todo</p>
<p>Template by <a href="http://sindresorhus.com">Sindre Sorhus</a></p> <p>Template by <a href="http://github.com/sindresorhus">Sindre Sorhus</a></p>
<p>Created by <a href="https://github.com/siuying">siuying</a>.</p> <p>Created by <a href="https://github.com/siuying">siuying</a></p>
<p>Modifications by <a href="https://github.com/addyosmani">addyosmani</a>.</p> <p>Modifications by <a href="https://github.com/addyosmani">addyosmani</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>
</body> </body>
<template name="todo"> <template name="todo">
<header id="header"> <header id="header">
<h1>todos</h1> <h1>todos</h1>
<input id="new-todo" placeholder="What needs to be done?" autofocus> <input id="new-todo" placeholder="What needs to be done?" autofocus>
</header> </header>
<section id="main"> <section id="main">
<input id="toggle-all" type="checkbox"> <input id="toggle-all" type="checkbox">
<label for="toggle-all">Mark all as complete</label> <label for="toggle-all">Mark all as complete</label>
...@@ -32,10 +32,8 @@ ...@@ -32,10 +32,8 @@
{{/each}} {{/each}}
</ul> </ul>
</section> </section>
{{> footer}} {{> footer}}
</template> </template>
<template name="item"> <template name="item">
<li class="{{ editingClass }} {{ completedClass }}"> <li class="{{ editingClass }} {{ completedClass }}">
<div class="view"> <div class="view">
...@@ -46,7 +44,6 @@ ...@@ -46,7 +44,6 @@
<input class="edit" value="{{ title }}"> <input class="edit" value="{{ title }}">
</li> </li>
</template> </template>
<template name="footer"> <template name="footer">
<footer id="footer" class="{{ footerClass }}"> <footer id="footer" class="{{ footerClass }}">
<span id="todo-count"><strong id="incompleted">{{ incompleted }}</strong>{{ incompletedText }}</span> <span id="todo-count"><strong id="incompleted">{{ incompleted }}</strong>{{ incompletedText }}</span>
......
...@@ -2,13 +2,17 @@ ...@@ -2,13 +2,17 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>o_O • TodoMVC</title> <title>o_O • TodoMVC</title>
<link rel="stylesheet" href="../../../assets/base.css"> <link rel="stylesheet" href="../../../assets/base.css">
<!--[if IE]>
<script src="../../../assets/ie.js"></script>
<![endif]-->
</head> </head>
<body> <body>
<section id="todoapp"> <section id="todoapp">
<header id="header"> <header id="header">
<h1>Todos</h1> <h1>todos</h1>
<input id="new-todo" data-bind="value: current; enterKey: add" placeholder="What needs to be done?"> <input id="new-todo" data-bind="value: current; enterKey: add" placeholder="What needs to be done?">
</header> </header>
<section id="main" data-bind="visible: todos.count"> <section id="main" data-bind="visible: todos.count">
...@@ -23,7 +27,7 @@ ...@@ -23,7 +27,7 @@
<label data-bind="text: title"></label> <label data-bind="text: title"></label>
<button class="destroy" data-bind="click: remove"></button> <button class="destroy" data-bind="click: remove"></button>
</div> </div>
<input class="edit" data-bind="value: title; enterKey: stopEditing; blur: stopEditing" /> <input class="edit" data-bind="value: title; enterKey: stopEditing; blur: stopEditing">
</li> </li>
</ul> </ul>
</section> </section>
...@@ -44,8 +48,10 @@ ...@@ -44,8 +48,10 @@
</section> </section>
<footer id="info"> <footer id="info">
<p>Double-click to edit a todo</p> <p>Double-click to edit a todo</p>
<p>Template by <a href="http://github.com/sindresorhus">Sindre Sorhus</a></p>
<p>Created by <a href="http://weepy.github.com">weepy (Jonah Fox)</a></p> <p>Created by <a href="http://weepy.github.com">weepy (Jonah Fox)</a></p>
</footer> </footer>
<script src="../../../assets/base.js"></script>
<script src="../../../assets/jquery.min.js"></script> <script src="../../../assets/jquery.min.js"></script>
<script src="js/lib/o_O.js" ></script> <script src="js/lib/o_O.js" ></script>
<script src="js/lib/o_O.router.js"></script> <script src="js/lib/o_O.router.js"></script>
......
...@@ -6,11 +6,14 @@ ...@@ -6,11 +6,14 @@
<title>Olives • TodoMVC</title> <title>Olives • TodoMVC</title>
<link rel="stylesheet" href="../../../assets/base.css"> <link rel="stylesheet" href="../../../assets/base.css">
<link rel="stylesheet" href="css/app.css"> <link rel="stylesheet" href="css/app.css">
<!--[if IE]>
<script src="../../../assets/ie.js"></script>
<![endif]-->
</head> </head>
<body> <body>
<section id="todoapp"> <section id="todoapp">
<header id="header"> <header id="header">
<h1>Todos</h1> <h1>todos</h1>
<input id="new-todo" placeholder="What needs to be done?" autofocus data-event="listen:keydown,addTask"> <input id="new-todo" placeholder="What needs to be done?" autofocus data-event="listen:keydown,addTask">
</header> </header>
<section id="main" data-stats="bind:toggleClass,nbItems,show"> <section id="main" data-stats="bind:toggleClass,nbItems,show">
...@@ -29,12 +32,14 @@ ...@@ -29,12 +32,14 @@
</section> </section>
<footer id="footer" data-stats="bind:toggleClass,nbItems,show"> <footer id="footer" data-stats="bind:toggleClass,nbItems,show">
<span id="todo-count"><strong data-stats="bind:innerHTML,nbLeft">0</strong> <span data-stats="bind:innerHTML,plural"></span> left</span> <span id="todo-count"><strong data-stats="bind:innerHTML,nbLeft">0</strong> <span data-stats="bind:innerHTML,plural"></span> left</span>
<button id="clear-completed" data-event="listen:click,delAll" data-stats="bind:toggleClass,nbCompleted,show">Clear completed (<span data-stats="bind:innerHTML,nbCompleted"></span>)</button> <button id="clear-completed" data-event="listen:click,delAll" data-stats="bind:toggleClass,nbCompleted,show">
Clear completed (<span data-stats="bind:innerHTML,nbCompleted"></span>)
</button>
</footer> </footer>
</section> </section>
<footer id="info"> <footer id="info">
<p>Double-click to edit a todo</p> <p>Double-click to edit a todo</p>
<p>Template by <a href="http://sindresorhus.com">Sindre Sorhus</a></p> <p>Template by <a href="http://github.com/sindresorhus">Sindre Sorhus</a></p>
<p>Created by <a href="http://github.com/podefr">Olivier Scherrer</a></p> <p>Created by <a href="http://github.com/podefr">Olivier Scherrer</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>
......
...@@ -63,9 +63,9 @@ ...@@ -63,9 +63,9 @@
</section> </section>
<footer id="info"> <footer id="info">
<p>Double-click to edit a todo</p> <p>Double-click to edit a todo</p>
<p>Template by <a href="http://sindresorhus.com">Sindre Sorhus</a></p> <p>Template by <a href="http://github.com/sindresorhus">Sindre Sorhus</a></p>
<!-- Change this out with your name and url ↓ --> <!-- Change this out with your name and url ↓ -->
<p>Created by <a href="http://addyosmani.github.com/todomvc/">you</a></p> <p>Created by <a href="http://todomvc.com">you</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>
<!-- Scripts here. Don't remove this ↓ --> <!-- Scripts here. Don't remove this ↓ -->
......
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