Skip to content

Commit

Permalink
fixes tastejs#585 - update todomvc-common.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus committed Jun 1, 2013
1 parent 2b680e1 commit 48b8ca7
Show file tree
Hide file tree
Showing 61 changed files with 236 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
}

function getFile(file, callback) {
if (!location.host) {
return console.info('Miss the info bar? Run TodoMVC from a server to avoid a cross-origin error.');
}

var xhr = new XMLHttpRequest();

xhr.open('GET', findRoot() + file, true);
Expand Down
Loading

0 comments on commit 48b8ca7

Please sign in to comment.