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

Update paths to tastejs/todomvc repo

parent e38f4828
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
function getSourcePath() { 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) { if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.io') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com'); location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
} }
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
function getSourcePath() { 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) { if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.io') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com'); location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
} }
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
function getSourcePath() { 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) { if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.io') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com'); location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
} }
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
function getSourcePath() { 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) { if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.io') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com'); location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
} }
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
function getSourcePath() { 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) { if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.io') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com'); location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
} }
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
function getSourcePath() { 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) { if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.io') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com'); location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
} }
} }
......
...@@ -2,13 +2,12 @@ ...@@ -2,13 +2,12 @@
'use strict'; 'use strict';
if (location.hostname === 'todomvc.com') { 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() { function getSourcePath() {
// If accessed via addyosmani.github.com/todomvc/, strip the project // If accessed via tastejs.github.io/todomvc/, strip the project path.
// path. if (location.hostname.indexOf('github.io') > 0) {
if (location.hostname.indexOf('github.com') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
return location.pathname; return location.pathname;
...@@ -18,7 +17,7 @@ ...@@ -18,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -29,9 +28,8 @@ ...@@ -29,9 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.com') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.com/todomvc', location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
'todomvc.com');
} }
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
function getSourcePath() { 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) { if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.io') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com'); location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
} }
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
function getSourcePath() { 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) { if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.io') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com'); location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
} }
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
function getSourcePath() { 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) { if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.io') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com'); location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
} }
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
function getSourcePath() { 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) { if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.io') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com'); location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
} }
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
function getSourcePath() { 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) { if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.io') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com'); location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
} }
} }
......
...@@ -2,13 +2,12 @@ ...@@ -2,13 +2,12 @@
'use strict'; 'use strict';
if (location.hostname === 'todomvc.com') { 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() { function getSourcePath() {
// If accessed via addyosmani.github.com/todomvc/, strip the project // If accessed via tastejs.github.io/todomvc/, strip the project path.
// path. if (location.hostname.indexOf('github.io') > 0) {
if (location.hostname.indexOf('github.com') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
return location.pathname; return location.pathname;
...@@ -18,7 +17,7 @@ ...@@ -18,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -29,9 +28,8 @@ ...@@ -29,9 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.com') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.com/todomvc', location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
'todomvc.com');
} }
} }
......
...@@ -5,7 +5,7 @@ We're happy to accept contributions in the form of new apps, bug fixes, issues, ...@@ -5,7 +5,7 @@ We're happy to accept contributions in the form of new apps, bug fixes, issues,
## Code Style ## 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 ## 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 ...@@ -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 ## 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 - 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. 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 ...@@ -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 :) 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 @@ ...@@ -6,7 +6,7 @@
} }
function getSourcePath() { 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) { if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.io') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com'); location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
} }
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
function getSourcePath() { 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) { if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.io') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com'); location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
} }
} }
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<meta name="twitter:card" content="summary"> <meta name="twitter:card" content="summary">
<meta property="og:url" content="http://todomvc.com"> <meta property="og:url" content="http://todomvc.com">
<meta property="og:title" content="TodoMVC"> <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"> <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]> <!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
...@@ -25,8 +25,8 @@ ...@@ -25,8 +25,8 @@
<img class="logo" src="site/img/logo.svg" width="500" height="86" alt="TodoMVC"> <img class="logo" src="site/img/logo.svg" width="500" height="86" alt="TodoMVC">
<p>Helping you <strong>select</strong> an MV* framework</p> <p>Helping you <strong>select</strong> an MV* framework</p>
<nav> <nav>
<a href="https://github.com/addyosmani/todomvc/zipball/1.1.0" class="zocial red">Download (1.1)</a> <a href="https://github.com/tastejs/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" class="zocial red">View project on GitHub</a>
<a href="https://www.gittip.com/tastejs/" class="zocial ltgray"> <a href="https://www.gittip.com/tastejs/" class="zocial ltgray">
We receive <strong>$<var class="gittip-amount">0.00</var> / wk</strong> We receive <strong>$<var class="gittip-amount">0.00</var> / wk</strong>
on <strong>Gittip</strong> on <strong>Gittip</strong>
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<h2>Introduction</h2> <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>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>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/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> <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> <div class="g-plusone" data-size="medium" data-annotation="none" data-href="http://todomvc.com"></div>
...@@ -221,7 +221,7 @@ ...@@ -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> <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>
<li class="labs"> <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> </li>
<!-- <!--
// Link is currently not working. // Link is currently not working.
...@@ -294,10 +294,10 @@ ...@@ -294,10 +294,10 @@
<div class="span4"> <div class="span4">
<h2>Getting Involved</h2> <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>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>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/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>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> <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> </p>
</div> </div>
</div> </div>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
function getSourcePath() { 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) { if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.io') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com'); location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
} }
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
function getSourcePath() { 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) { if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.io') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com'); location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
} }
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
function getSourcePath() { 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) { if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.io') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com'); location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
} }
} }
......
...@@ -6,9 +6,8 @@ ...@@ -6,9 +6,8 @@
} }
function getSourcePath() { function getSourcePath() {
// If accessed via addyosmani.github.com/todomvc/, strip the project // If accessed via tastejs.github.io/todomvc/, strip the project path.
// path. if (location.hostname.indexOf('github.io') > 0) {
if (location.hostname.indexOf('github.com') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
return location.pathname; return location.pathname;
...@@ -18,7 +17,7 @@ ...@@ -18,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -29,9 +28,8 @@ ...@@ -29,9 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.com') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.com/todomvc', location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
'todomvc.com');
} }
} }
......
# Meteor TodoMVC app # 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) [Demo](http://todomvcapp.meteor.com)
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
function getSourcePath() { 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) { if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.io') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com'); location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
} }
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
function getSourcePath() { 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) { if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.io') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com'); location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
} }
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
function getSourcePath() { 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) { if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.io') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com'); location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
} }
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
function getSourcePath() { 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) { if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.io') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com'); location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
} }
} }
......
...@@ -6,9 +6,8 @@ ...@@ -6,9 +6,8 @@
} }
function getSourcePath() { function getSourcePath() {
// If accessed via addyosmani.github.com/todomvc/, strip the project // If accessed via tastejs.github.io/todomvc/, strip the project path.
// path. if (location.hostname.indexOf('github.io') > 0) {
if (location.hostname.indexOf('github.com') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
return location.pathname; return location.pathname;
...@@ -18,7 +17,7 @@ ...@@ -18,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -29,9 +28,8 @@ ...@@ -29,9 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.com') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.com/todomvc', location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
'todomvc.com');
} }
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
function getSourcePath() { 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) { if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.io') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com'); location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
} }
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
function getSourcePath() { 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) { if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -28,11 +28,11 @@ ...@@ -28,11 +28,11 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.io') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com'); location.href = location.href.replace('tastejs.github.io/todomvc', 'todomvc.com');
} }
} }
appendSourceLink(); appendSourceLink();
redirect(); redirect();
})(); })();
\ No newline at end of file
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
function getSourcePath() { 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) { if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.io') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com'); 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 ## Helping you select an MV\* framework
...@@ -83,12 +83,12 @@ Live demos are available on our [website](http://todomvc.com) ...@@ -83,12 +83,12 @@ Live demos are available on our [website](http://todomvc.com)
## Screenshot ## Screenshot
![screenshot](https://raw.github.com/addyosmani/todomvc/gh-pages/screenshot.png) ![screenshot](https://raw.github.com/tastejs/todomvc/gh-pages/screenshot.png)
## Team ## 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 #### [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 ...@@ -110,7 +110,7 @@ Pascal is a Software Engineer at weluse GmbH with a deep passion for consistency
## Disclaimer ## 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. 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 @@ ...@@ -4,7 +4,7 @@
## Getting Started ## 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? ## Need help?
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
} }
function getSourcePath() { 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) { if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, ''); return location.pathname.replace(/todomvc\//, '');
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
var sourceLink = document.createElement('a'); var sourceLink = document.createElement('a');
var paragraph = document.createElement('p'); var paragraph = document.createElement('p');
var footer = document.getElementById('info'); 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) { if (footer) {
sourceLink.href = urlBase + getSourcePath(); sourceLink.href = urlBase + getSourcePath();
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
} }
function redirect() { function redirect() {
if (location.hostname === 'addyosmani.github.io') { if (location.hostname === 'tastejs.github.io') {
location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com'); 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