Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

prepping site, using github api

  • Loading branch information...
commit 843366beca95c2ba2268000d2113479944a60ef4 0 parents
catshirt authored
Showing with 37 additions and 0 deletions.
  1. +16 −0 brain.js
  2. +21 −0 index.html
  3. 0  style.css
16 brain.js
@@ -0,0 +1,16 @@
+$(function() {
+
+ $.getJSON('https://github.com/api/v2/json/repos/show/catshirt?callback=?', function(d) {
+
+ var repos = d.repositories,
+ repo, url, name;
+
+ for(var i = 0; repo = repos[i]; i++) {
+ url = repo.url;
+ name = repo.name;
+ console.log(name + ' is at ' + url);
+ }
+
+ });
+
+});
21 index.html
@@ -0,0 +1,21 @@
+<!doctype html>
+<html lang="en-us">
+
+ <head>
+ <meta charset="utf-8">
+ <title>catshirt.net</title>
+ <link rel="stylesheet" media="screen" href="./style.css" >
+ </head>
+
+ <body>
+
+ <h1>welcome</h1>
+
+ <script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js"></script>
+ <script>window.jQuery || document.write('<script src="js/libs/jquery-1.5.1.min.js">\x3C/script>')</script>
+
+ <script src="./brain.js"></script>
+
+ </body>
+
+</html>
0  style.css
No changes.
Please sign in to comment.
Something went wrong with that request. Please try again.