Commit 4ad2192b authored by Sindre Sorhus's avatar Sindre Sorhus

Update paths to tastejs/todomvc repo

parent e38f4828
......@@ -6,7 +6,7 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.io/todomvc/, strip the project path.
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
......@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -28,8 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
......@@ -6,7 +6,7 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.io/todomvc/, strip the project path.
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
......@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -28,8 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
......@@ -6,7 +6,7 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.io/todomvc/, strip the project path.
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
......@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -28,8 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
......@@ -6,7 +6,7 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.io/todomvc/, strip the project path.
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
......@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -28,8 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
......@@ -6,7 +6,7 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.io/todomvc/, strip the project path.
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
......@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -28,8 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
......@@ -6,7 +6,7 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.io/todomvc/, strip the project path.
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
......@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -28,8 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
......@@ -2,13 +2,12 @@
'use strict';
if (location.hostname === 'todomvc.com') {
window._gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
window._gaq = [['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
}
function getSourcePath() {
// If accessed via addyosmani.github.com/todomvc/, strip the project
// path.
if (location.hostname.indexOf('github.com') > 0) {
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
return location.pathname;
......@@ -18,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -29,9 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.com') {
location.href = location.href.replace('addyosmani.github.com/todomvc',
'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
......@@ -6,7 +6,7 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.io/todomvc/, strip the project path.
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
......@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -28,8 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
......@@ -6,7 +6,7 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.io/todomvc/, strip the project path.
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
......@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -28,8 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
......@@ -6,7 +6,7 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.io/todomvc/, strip the project path.
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
......@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -28,8 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
......@@ -6,7 +6,7 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.io/todomvc/, strip the project path.
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
......@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -28,8 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
......@@ -6,7 +6,7 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.io/todomvc/, strip the project path.
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
......@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -28,8 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
......@@ -2,13 +2,12 @@
'use strict';
if (location.hostname === 'todomvc.com') {
window._gaq=[['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
window._gaq = [['_setAccount','UA-31081062-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'));
}
function getSourcePath() {
// If accessed via addyosmani.github.com/todomvc/, strip the project
// path.
if (location.hostname.indexOf('github.com') > 0) {
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
return location.pathname;
......@@ -18,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -29,9 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.com') {
location.href = location.href.replace('addyosmani.github.com/todomvc',
'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
......@@ -5,7 +5,7 @@ We're happy to accept contributions in the form of new apps, bug fixes, issues,
## Code Style
We think it's best for the project if the code you write looks like the code the last developer wrote, so we've put together [some guidelines we ask that you follow](https://github.com/addyosmani/todomvc/tree/gh-pages/codestyle.md). We greatly appreciate your cooperation and contribution.
We think it's best for the project if the code you write looks like the code the last developer wrote, so we've put together [some guidelines we ask that you follow](https://github.com/tastejs/todomvc/tree/gh-pages/codestyle.md). We greatly appreciate your cooperation and contribution.
## Pull Request Guidelines
......@@ -17,9 +17,9 @@ We think it's best for the project if the code you write looks like the code the
## Submitting a New App
- **Read the [App Specification](https://github.com/addyosmani/todomvc/wiki/App-Specification) thoroughly**
- **Read the [App Specification](https://github.com/tastejs/todomvc/wiki/App-Specification) thoroughly**
- Make sure it hasn't already been submitted or declined by searching the issue tracker
- Looking at our most recent [reference app](https://github.com/addyosmani/todomvc/tree/gh-pages/architecture-examples/backbone)
- Looking at our most recent [reference app](https://github.com/tastejs/todomvc/tree/gh-pages/architecture-examples/backbone)
One of us will be happy to review your submission and discuss any changes that may be required before it can be included. Apps will typically land first in Labs, reaching the 'stable' mark once we and the community are happy with it.
......@@ -42,4 +42,4 @@ If you are a library author or contributor wishing to start work on writing test
Note that due to the current number of MVC/MVVM/MV* frameworks in circulation, it's not always possible to include each one in TodoMVC, but we'll definitely discuss the merits of any framework prior to making a decision :)
For applications that we feel don't quite match the goals of the project, but which we feel still offer value, we're happy to include references to them in our official [wiki](https://github.com/addyosmani/todomvc/wiki/Other-implementations).
For applications that we feel don't quite match the goals of the project, but which we feel still offer value, we're happy to include references to them in our official [wiki](https://github.com/tastejs/todomvc/wiki/Other-implementations).
......@@ -6,7 +6,7 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.io/todomvc/, strip the project path.
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
......@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -28,8 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
......@@ -6,7 +6,7 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.io/todomvc/, strip the project path.
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
......@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -28,8 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
......@@ -8,7 +8,7 @@
<meta name="twitter:card" content="summary">
<meta property="og:url" content="http://todomvc.com">
<meta property="og:title" content="TodoMVC">
<meta property="og:image" content="https://raw.github.com/addyosmani/todomvc/gh-pages/screenshot.png">
<meta property="og:image" content="https://raw.github.com/tastejs/todomvc/gh-pages/screenshot.png">
<meta property="og:description" content="Helping you select an MV* framework - Todo apps for Backbone.js, Ember.js, AngularJS, Spine and many more">
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
......@@ -25,8 +25,8 @@
<img class="logo" src="site/img/logo.svg" width="500" height="86" alt="TodoMVC">
<p>Helping you <strong>select</strong> an MV* framework</p>
<nav>
<a href="https://github.com/addyosmani/todomvc/zipball/1.1.0" class="zocial red">Download (1.1)</a>
<a href="https://github.com/addyosmani/todomvc" class="zocial red">View project on GitHub</a>
<a href="https://github.com/tastejs/todomvc/zipball/1.1.0" class="zocial red">Download (1.1)</a>
<a href="https://github.com/tastejs/todomvc" class="zocial red">View project on GitHub</a>
<a href="https://www.gittip.com/tastejs/" class="zocial ltgray">
We receive <strong>$<var class="gittip-amount">0.00</var> / wk</strong>
on <strong>Gittip</strong>
......@@ -42,7 +42,7 @@
<h2>Introduction</h2>
<p>Developers these days are spoiled with choice when it comes to <a href="http://coding.smashingmagazine.com/2012/07/27/journey-through-the-javascript-mvc-jungle/">selecting</a> an <strong>MV* framework</strong> for structuring and organizing their JavaScript web apps.</p>
<p>Backbone, Ember, AngularJS, Spine... the list of new and stable solutions continues to grow, but just how do you decide on which to use in a sea of so many options?</p>
<p>To help solve this problem, we created <a href="https://github.com/addyosmani/todomvc">TodoMVC</a> - a project which offers the same Todo application implemented using MV* concepts in most of the popular JavaScript MV* frameworks of today.</p>
<p>To help solve this problem, we created <a href="https://github.com/tastejs/todomvc">TodoMVC</a> - a project which offers the same Todo application implemented using MV* concepts in most of the popular JavaScript MV* frameworks of today.</p>
<a href="https://twitter.com/tastejs" class="twitter-follow-button" data-show-count="false" data-show-screen-name="false"></a>
<a href="https://twitter.com/share" class="twitter-share-button" data-via="tastejs" data-url="http://todomvc.com" data-text="TodoMVC - Helping you select an MV* framework - Todo apps for Backbone.js, Ember.js, AngularJS, and more"></a>
<div class="g-plusone" data-size="medium" data-annotation="none" data-href="http://todomvc.com"></div>
......@@ -221,7 +221,7 @@
<a href="http://todomvc.derbyjs.com" data-source="http://derbyjs.com" data-content="MVC framework making it easy to write realtime, collaborative applications that run in both Node.js and browsers.">Derby</a>
</li>
<li class="labs">
<a href="https://github.com/addyosmani/todomvc/blob/gh-pages/labs/architecture-examples/socketstream/README.md" data-source="http://www.socketstream.org" data-content="SocketStream is a fast, modular Node.js web framework dedicated to building realtime single-page apps">SocketStream</a>
<a href="https://github.com/tastejs/todomvc/blob/gh-pages/labs/architecture-examples/socketstream/README.md" data-source="http://www.socketstream.org" data-content="SocketStream is a fast, modular Node.js web framework dedicated to building realtime single-page apps">SocketStream</a>
</li>
<!--
// Link is currently not working.
......@@ -294,10 +294,10 @@
<div class="span4">
<h2>Getting Involved</h2>
<p>Is there a bug we haven't fixed or an MV* framework you feel would benefit from being included in TodoMVC?</p>
<p>If so, feel free to fork the repo, read our <a href="https://github.com/addyosmani/todomvc/wiki">contribution guidelines</a>, and submit a pull request &mdash; we'll be happy to review it for inclusion.</p>
<p>Make sure you use the <a href="https://github.com/addyosmani/todomvc/tree/gh-pages/template">template</a> as a starting point and read the <a href="https://github.com/addyosmani/todomvc/wiki/App-Specification">app specification</a>.</p>
<p>If so, feel free to fork the repo, read our <a href="https://github.com/tastejs/todomvc/wiki">contribution guidelines</a>, and submit a pull request &mdash; we'll be happy to review it for inclusion.</p>
<p>Make sure you use the <a href="https://github.com/tastejs/todomvc/tree/gh-pages/template">template</a> as a starting point and read the <a href="https://github.com/tastejs/todomvc/wiki/App-Specification">app specification</a>.</p>
<p>
<a class="zocial small gray" href="https://github.com/addyosmani/todomvc/wiki">Submit Pull Request &raquo;</a>
<a class="zocial small gray" href="https://github.com/tastejs/todomvc/wiki">Submit Pull Request &raquo;</a>
</p>
</div>
</div>
......
......@@ -6,7 +6,7 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.io/todomvc/, strip the project path.
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
......@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -28,8 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
......@@ -6,7 +6,7 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.io/todomvc/, strip the project path.
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
......@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -28,8 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
......@@ -6,7 +6,7 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.io/todomvc/, strip the project path.
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
......@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -28,8 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
......@@ -6,9 +6,8 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.com/todomvc/, strip the project
// path.
if (location.hostname.indexOf('github.com') > 0) {
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
return location.pathname;
......@@ -18,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -29,9 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.com') {
location.href = location.href.replace('addyosmani.github.com/todomvc',
'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
# Meteor TodoMVC app
A todo app built using [Meteor](http://meteor.com), inspired by [TodoMVC](https://github.com/addyosmani/todomvc).
A todo app built using [Meteor](http://meteor.com), inspired by [TodoMVC](https://todomvc.com)
[Demo](http://todomvcapp.meteor.com)
......
......@@ -6,7 +6,7 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.io/todomvc/, strip the project path.
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
......@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -28,8 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
......@@ -6,7 +6,7 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.io/todomvc/, strip the project path.
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
......@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -28,8 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
......@@ -6,7 +6,7 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.io/todomvc/, strip the project path.
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
......@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -28,8 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
......@@ -6,7 +6,7 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.io/todomvc/, strip the project path.
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
......@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -28,8 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
......@@ -6,9 +6,8 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.com/todomvc/, strip the project
// path.
if (location.hostname.indexOf('github.com') > 0) {
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
return location.pathname;
......@@ -18,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -29,9 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.com') {
location.href = location.href.replace('addyosmani.github.com/todomvc',
'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
......@@ -6,7 +6,7 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.io/todomvc/, strip the project path.
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
......@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -28,8 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
......@@ -6,7 +6,7 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.io/todomvc/, strip the project path.
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
......@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -28,11 +28,11 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
appendSourceLink();
redirect();
})();
\ No newline at end of file
})();
......@@ -6,7 +6,7 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.io/todomvc/, strip the project path.
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
......@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -28,8 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
# ![TodoMVC](https://raw.github.com/addyosmani/todomvc/gh-pages/media/logo.png)
# ![TodoMVC](https://raw.github.com/tastejs/todomvc/gh-pages/media/logo.png)
## Helping you select an MV\* framework
......@@ -83,12 +83,12 @@ Live demos are available on our [website](http://todomvc.com)
## Screenshot
![screenshot](https://raw.github.com/addyosmani/todomvc/gh-pages/screenshot.png)
![screenshot](https://raw.github.com/tastejs/todomvc/gh-pages/screenshot.png)
## Team
TodoMVC would not be possible without a strong team of [contributors](https://github.com/addyosmani/todomvc/contributors) helping push the project forward each day. In addition, we have a core project team composed of:
TodoMVC would not be possible without a strong team of [contributors](https://github.com/tastejs/todomvc/contributors) helping push the project forward each day. In addition, we have a core project team composed of:
#### [Addy Osmani](http://github.com/addyosmani) - Founder/Lead
......@@ -110,7 +110,7 @@ Pascal is a Software Engineer at weluse GmbH with a deep passion for consistency
## Disclaimer
<img align="right" width="230" height="230" src="https://raw.github.com/addyosmani/todomvc/gh-pages/media/icon-small.png">
<img align="right" width="230" height="230" src="https://raw.github.com/tastejs/todomvc/gh-pages/media/icon-small.png">
TodoMVC has been called many things including the 'Speed-dating' and 'Rosetta Stone' of MV* frameworks. Whilst we hope that this project is able to offer assistance in deciding what frameworks are worth spending more time looking at, remember that the Todo application offers a limited view of what a framework may be capable of.
......
......@@ -4,7 +4,7 @@
## Getting Started
Read the [App Specification](https://github.com/addyosmani/todomvc/wiki/App-Specification) before touching the template.
Read the [App Specification](https://github.com/tastejs/todomvc/wiki/App-Specification) before touching the template.
## Need help?
......
......@@ -6,7 +6,7 @@
}
function getSourcePath() {
// If accessed via addyosmani.github.io/todomvc/, strip the project path.
// If accessed via tastejs.github.io/todomvc/, strip the project path.
if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
......@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a');
var paragraph = document.createElement('p');
var footer = document.getElementById('info');
var urlBase = 'https://github.com/addyosmani/todomvc/tree/gh-pages';
var urlBase = 'https://github.com/tastejs/todomvc/tree/gh-pages';
if (footer) {
sourceLink.href = urlBase + getSourcePath();
......@@ -28,8 +28,8 @@
}
function redirect() {
if (location.hostname === 'addyosmani.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
}
}
......
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