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>
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<merge.cdnRoot>/cdn/</merge.cdnRoot> <merge.cdnRoot>/cdn/</merge.cdnRoot>
<merge.cdnFiles>.ico .png .jpg .gif .eot .woff .ttf .svg .svgz</merge.cdnFiles> <merge.cdnFiles>.ico .png .jpg .gif .eot .woff .ttf .svg .svgz</merge.cdnFiles>
<staticapps.config>${project.basedir}/staticapp.json</staticapps.config> <staticapps.config>${project.basedir}/staticapp.json</staticapps.config>
</properties> </properties>
<dependencies> <dependencies>
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
<target>${javac.version}</target> <target>${javac.version}</target>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
</pluginManagement> </pluginManagement>
</build> </build>
</project> </project>
\ No newline at end of file
...@@ -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">
<title>Fidel</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link href="stylesheets/todos.css" media="all" rel="stylesheet" type="text/css"/> <title>Fidel</title>
<!--<script src="vendor/live.js"></script>--> <link href="stylesheets/todos.css" rel="stylesheet">
</head> <!--[if IE]>
<script src="../../../assets/ie.js"></script>
<body> <![endif]-->
</head>
<!-- Todo App Interface --> <body>
<div id="todoapp">
<div id="todoapp"> <div class="title">
<h1>todos</h1>
<div class="title"> </div>
<h1>Todos</h1> <div class="content">
</div> <div id="create-todo">
<input data-element="input" placeholder="What needs to be done?" type="text">
<div class="content"> </div>
<div id="todos">
<div id="create-todo"> <ul id="todo-list" data-element="todosContainer"></ul>
<input data-element="input" placeholder="What needs to be done?" type="text" /> </div>
<span class="ui-tooltip-top" style="display:none;">Press Enter to save this task</span> <div id="todo-stats" data-element="statsContainer"></div>
</div> </div>
</div>
<div id="todos"> <div id="credits">
<ul id="todo-list" data-element="todosContainer"></ul> <p>Created by
</div> <br />
<a href="http://jga.me/">Greg Allen</a> (<a href="http://twitter.com/jgaui">jgaui</a>).</p>
<div id="todo-stats" data-element="statsContainer"></div> <br />
<p>Part of <a href="http://todomvc.com">TodoMVC</a>.</p>
</div> </div>
<script type="text/template" id="item-template">
</div> <li class="todo {!= todo.done ? 'done' : '' !}" data-todoid="{!= todo.guid !}">
<div class="display">
<input class="check" type="checkbox" {!= todo.done ? 'checked="checked"' : '' !} />
<div id="credits"> <div class="todo-content">{!= todo.name !}</div>
<p>Created by <span data-action="destroyTodo" class="todo-destroy"></span>
<br /> </div>
<a href="http://jga.me/">Greg Allen</a> (<a href="http://twitter.com/jgaui">jgaui</a>).</p> <div class="edit">
<br /> <input class="todo-input" type="text" value="" />
<p>Part of <a href="http://todomvc.com">TodoMVC</a>.</p> </div>
</div> </li>
</script>
<!-- Templates --> <script type="text/template" id="stats-template">
{! if (total) { !}
<script type="text/template" id="item-template"> <span class="todo-count">
<li class="todo {!= todo.done ? 'done' : '' !}" data-todoid="{!= todo.guid !}"> <span class="number">{!= remaining !}</span>
<div class="display"> <span class="word">{!= remaining == 1 ? 'item' : 'items' !}</span> left.
<input class="check" type="checkbox" {!= todo.done ? 'checked="checked"' : '' !} /> </span>
<div class="todo-content">{!= todo.name !}</div> {! } !}
<span data-action="destroyTodo" class="todo-destroy"></span> {! if (done) { !}
</div> <span class="todo-clear">
<div class="edit"> <a data-action="clearCompleted" href="#">
<input class="todo-input" type="text" value="" /> Clear <span class="number-done">{!= done !}</span>
</div> completed <span class="word-done">{!= done == 1 ? 'item' : 'items' !}</span>
</li> </a>
</script> </span>
{! } !}
<script type="text/template" id="stats-template"> </script>
{! if (total) { !} <script src="../../../assets/base.js"></script>
<span class="todo-count"> <script src="../../../assets/jquery.min.js"></script>
<span class="number">{!= remaining !}</span> <script src="vendor/fidel.js"></script>
<span class="word">{!= remaining == 1 ? 'item' : 'items' !}</span> left. <script src="app.js"></script>
</span> </body>
{! } !} </html>
{! if (done) { !} \ No newline at end of file
<span class="todo-clear">
<a data-action="clearCompleted" href="#">
Clear <span class="number-done">{!= done !}</span>
completed <span class="word-done">{!= done == 1 ? 'item' : 'items' !}</span>
</a>
</span>
{! } !}
</script>
<script src="vendor/json2.js"></script>
<script src="vendor/jquery-1.6.4.min.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>
</body>
</html>
<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,10 +44,9 @@ ...@@ -46,10 +44,9 @@
<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>
<button id="clear-completed">Clear completed (<span id="completed">{{ completed }}</span>)</button> <button id="clear-completed">Clear completed (<span id="completed">{{ completed }}</span>)</button>
</footer> </footer>
</template> </template>
\ No newline at end of file
...@@ -2,19 +2,23 @@ ...@@ -2,19 +2,23 @@
<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">
<div> <div>
<input id="toggle-all" type="checkbox" data-bind="value: allCompleted;"> <input id="toggle-all" type="checkbox" data-bind="value: allCompleted;">
<label for="toggle-all">Mark all as complete</label> <label for="toggle-all">Mark all as complete</label>
</div> </div>
<ul id="todo-list" data-bind="foreach: todos"> <ul id="todo-list" data-bind="foreach: todos">
<li data-bind="class: klass; visible; dblclick: startEditing"> <li data-bind="class: klass; visible; dblclick: startEditing">
...@@ -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