Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CanJS: Partly moved to Bower components
Refs #475
- Loading branch information
Showing
8 changed files
with
13,727 additions
and
73 deletions.
There are no files selected for viewing
3,675 changes: 3,675 additions & 0 deletions
3,675
architecture-examples/canjs/components/canjs/can.jquery.js
Large diffs are not rendered by default.
Oops, something went wrong.
9,597 changes: 9,597 additions & 0 deletions
9,597
architecture-examples/canjs/components/jquery/jquery.js
Large diffs are not rendered by default.
Oops, something went wrong.
414 changes: 414 additions & 0 deletions
414
architecture-examples/canjs/components/todomvc-common/base.css
Large diffs are not rendered by default.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
architecture-examples/canjs/components/todomvc-common/base.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
(function () { | ||
'use strict'; | ||
|
||
if (location.hostname === 'todomvc.com') { | ||
var _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 appendSourceLink() { | ||
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'; | ||
|
||
if (footer) { | ||
sourceLink.href = urlBase + location.pathname; | ||
sourceLink.appendChild(document.createTextNode('Check out the source')); | ||
paragraph.appendChild(sourceLink); | ||
footer.appendChild(paragraph); | ||
} | ||
} | ||
|
||
appendSourceLink(); | ||
})(); |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions
12
architecture-examples/canjs/components/todomvc-common/component.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"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" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 0 additions & 64 deletions
64
architecture-examples/canjs/js/lib/can.jquery-1.1.0.min.js
This file was deleted.
Oops, something went wrong.