Permalink
Browse files

updated to github.io.

  • Loading branch information...
Stephen Sawchuk
Stephen Sawchuk committed Apr 7, 2013
1 parent 4524bcc commit 26d6187ed12bc480a94b56573296b7a5cf20fa85
Showing with 638 additions and 161 deletions.
  1. +2 −2 architecture-examples/agilityjs/component.json
  2. +10 −4 architecture-examples/agilityjs/components/todomvc-common/base.js
  3. +0 −12 architecture-examples/agilityjs/components/todomvc-common/component.json
  4. +1 −1 architecture-examples/angularjs-perf/component.json
  5. +10 −4 architecture-examples/angularjs-perf/components/todomvc-common/base.js
  6. +1 −1 architecture-examples/angularjs/component.json
  7. +10 −4 architecture-examples/angularjs/components/todomvc-common/base.js
  8. +1 −1 architecture-examples/backbone/component.json
  9. +10 −4 architecture-examples/backbone/components/todomvc-common/base.js
  10. +2 −1 architecture-examples/canjs/component.json
  11. +10 −4 architecture-examples/canjs/components/todomvc-common/base.js
  12. +0 −12 architecture-examples/canjs/components/todomvc-common/component.json
  13. +5 −5 architecture-examples/closure/component.json
  14. +4 −6 architecture-examples/closure/components/todomvc-common/base.js
  15. +1 −1 architecture-examples/emberjs/component.json
  16. +10 −4 architecture-examples/emberjs/components/todomvc-common/base.js
  17. +1 −1 architecture-examples/jquery/component.json
  18. +10 −4 architecture-examples/jquery/components/todomvc-common/base.js
  19. +1 −1 architecture-examples/knockoutjs/component.json
  20. +10 −4 architecture-examples/knockoutjs/components/todomvc-common/base.js
  21. +1 −1 architecture-examples/spine/component.json
  22. +10 −4 architecture-examples/spine/components/todomvc-common/base.js
  23. +1 −1 dependency-examples/backbone_require/component.json
  24. +10 −4 dependency-examples/backbone_require/components/todomvc-common/base.js
  25. +2 −1 dependency-examples/flight/component.json
  26. +414 −0 dependency-examples/flight/components/todomvc-common/base.css
  27. +38 −0 dependency-examples/flight/components/todomvc-common/base.js
  28. BIN dependency-examples/flight/components/todomvc-common/bg.png
  29. +2 −2 dependency-examples/flight/index.html
  30. +1 −1 labs/architecture-examples/backbone_marionette/component.json
  31. +10 −4 labs/architecture-examples/backbone_marionette/components/todomvc-common/base.js
  32. +1 −1 labs/architecture-examples/olives/component.json
  33. +4 −6 labs/architecture-examples/olives/components/todomvc-common/base.js
  34. +7 −7 labs/architecture-examples/puremvc/component.json
  35. +4 −6 labs/architecture-examples/puremvc/components/todomvc-common/base.js
  36. +7 −7 labs/architecture-examples/sammyjs/component.json
  37. +4 −6 labs/architecture-examples/sammyjs/components/todomvc-common/base.js
  38. +1 −1 labs/architecture-examples/serenadejs/component.json
  39. +4 −6 labs/architecture-examples/serenadejs/components/todomvc-common/base.js
  40. +1 −1 labs/dependency-examples/angularjs_require/component.json
  41. +10 −4 labs/dependency-examples/angularjs_require/components/todomvc-common/base.js
  42. +0 −12 labs/dependency-examples/angularjs_require/components/todomvc-common/component.json
  43. +2 −3 site/js/main.js
  44. +1 −1 template/component.json
  45. +4 −6 template/components/todomvc-common/base.js
@@ -2,8 +2,8 @@
"name": "agilityjs",
"version": "0.0.0",
"dependencies": {
- "todomvc-common": "~0.1.2",
+ "todomvc-common": "~0.1.4",
"agility": "~0.1.3",
"jquery": "~1.9.1"
}
-}
+}
@@ -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 addyosmani.github.io/todomvc/, strip the project path.
+ if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
return location.pathname;
@@ -28,5 +27,12 @@
}
}
+ function redirect() {
+ if (location.hostname === 'addyosmani.github.io') {
+ location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
+ }
+ }
+
appendSourceLink();
+ redirect();
})();
@@ -1,12 +0,0 @@
-{
- "name": "todomvc-common",
- "version": "0.1.0",
- "gitHead": "63628bfbeff187f6db5bc982a0a222e66e62901e",
- "_id": "todomvc-common@0.1.0",
- "readme": "ERROR: No README.md file found!",
- "description": "ERROR: No README.md file found!",
- "repository": {
- "type": "git",
- "url": "git://github.com/TasteJS/todomvc-common.git"
- }
-}
@@ -3,6 +3,6 @@
"version": "0.0.0",
"dependencies": {
"angular": "~1.0.5",
- "todomvc-common": "~0.1.2"
+ "todomvc-common": "~0.1.4"
}
}
@@ -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 addyosmani.github.io/todomvc/, strip the project path.
+ if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
return location.pathname;
@@ -28,5 +27,12 @@
}
}
+ function redirect() {
+ if (location.hostname === 'addyosmani.github.io') {
+ location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
+ }
+ }
+
appendSourceLink();
+ redirect();
})();
@@ -3,7 +3,7 @@
"version": "0.0.0",
"dependencies": {
"angular": "~1.0.5",
- "todomvc-common": "~0.1.2"
+ "todomvc-common": "~0.1.4"
},
"devDependencies": {
"angular-mocks": "~1.0.5"
@@ -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 addyosmani.github.io/todomvc/, strip the project path.
+ if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
return location.pathname;
@@ -28,5 +27,12 @@
}
}
+ function redirect() {
+ if (location.hostname === 'addyosmani.github.io') {
+ location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
+ }
+ }
+
appendSourceLink();
+ redirect();
})();
@@ -5,7 +5,7 @@
"backbone": "~1.0.0",
"underscore": "~1.4.4",
"jquery": "~1.9.1",
- "todomvc-common": "~0.1.2",
+ "todomvc-common": "~0.1.4",
"backbone.localStorage": "~1.1.0"
}
}
@@ -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 addyosmani.github.io/todomvc/, strip the project path.
+ if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
return location.pathname;
@@ -28,5 +27,12 @@
}
}
+ function redirect() {
+ if (location.hostname === 'addyosmani.github.io') {
+ location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
+ }
+ }
+
appendSourceLink();
+ redirect();
})();
@@ -4,6 +4,7 @@
"dependencies": {
"jquery": "~1.9.1",
"canjs": "~1.1.4",
- "canjs-localstorage": "~0.1.0"
+ "canjs-localstorage": "~0.1.0",
+ "todomvc-common": "~0.1.4"
}
}
@@ -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 addyosmani.github.io/todomvc/, strip the project path.
+ if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
return location.pathname;
@@ -28,5 +27,12 @@
}
}
+ function redirect() {
+ if (location.hostname === 'addyosmani.github.io') {
+ location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
+ }
+ }
+
appendSourceLink();
+ redirect();
})();
@@ -1,12 +0,0 @@
-{
- "name": "todomvc-common",
- "version": "0.1.1",
- "gitHead": "639b3e310c9fd6970e8ccda893ad564915e715f5",
- "_id": "todomvc-common@0.1.1",
- "readme": "ERROR: No README.md file found!",
- "description": "ERROR: No README.md file found!",
- "repository": {
- "type": "git",
- "url": "git://github.com/tastejs/todomvc-common.git"
- }
-}
@@ -1,7 +1,7 @@
{
- "name": "todomvc-closure",
- "version": "0.0.0",
- "dependencies": {
- "todomvc-common": "~0.1.2"
- }
+ "name": "todomvc-closure",
+ "version": "0.0.0",
+ "dependencies": {
+ "todomvc-common": "~0.1.4"
+ }
}
@@ -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 addyosmani.github.io/todomvc/, strip the project path.
+ if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
return location.pathname;
@@ -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 === 'addyosmani.github.io') {
+ location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
}
}
@@ -2,7 +2,7 @@
"name": "todomvc-emberjs",
"version": "0.0.0",
"dependencies": {
- "todomvc-common": "~0.1.2",
+ "todomvc-common": "~0.1.4",
"jquery": "~1.9.1",
"handlebars": "~1.0.0-rc.3",
"ember": "~1.0.0-rc.1",
@@ -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 addyosmani.github.io/todomvc/, strip the project path.
+ if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
return location.pathname;
@@ -28,5 +27,12 @@
}
}
+ function redirect() {
+ if (location.hostname === 'addyosmani.github.io') {
+ location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
+ }
+ }
+
appendSourceLink();
+ redirect();
})();
@@ -4,6 +4,6 @@
"dependencies": {
"jquery": "~1.9.1",
"handlebars": "~1.0.0-rc.3",
- "todomvc-common": "~0.1.2"
+ "todomvc-common": "~0.1.4"
}
}
@@ -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 addyosmani.github.io/todomvc/, strip the project path.
+ if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
return location.pathname;
@@ -28,5 +27,12 @@
}
}
+ function redirect() {
+ if (location.hostname === 'addyosmani.github.io') {
+ location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
+ }
+ }
+
appendSourceLink();
+ redirect();
})();
@@ -2,7 +2,7 @@
"name": "todomvc-knockoutjs",
"version": "0.0.0",
"dependencies": {
- "todomvc-common": "~0.1.2",
+ "todomvc-common": "~0.1.4",
"knockout.js": "~2.2.0rc",
"director": "~1.1.10"
}
@@ -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 addyosmani.github.io/todomvc/, strip the project path.
+ if (location.hostname.indexOf('github.io') > 0) {
return location.pathname.replace(/todomvc\//, '');
}
return location.pathname;
@@ -28,5 +27,12 @@
}
}
+ function redirect() {
+ if (location.hostname === 'addyosmani.github.io') {
+ location.href = location.href.replace('addyosmani.github.io/todomvc', 'todomvc.com');
+ }
+ }
+
appendSourceLink();
+ redirect();
})();
@@ -3,7 +3,7 @@
"version": "0.0.0",
"dependencies": {
"spine": "~1.0.9",
- "todomvc-common": "~0.1.2",
+ "todomvc-common": "~0.1.4",
"handlebars": "~1.0.0-rc.3",
"jquery": "~1.8.3"
}
Oops, something went wrong.

0 comments on commit 26d6187

Please sign in to comment.