Skip to content

Commit c39e82d

Browse files
Igor Limazenorocha
Igor Lima
authored andcommitted
Add a demo with zepto
1 parent a38527e commit c39e82d

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

demo/index-zepto.html

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<!DOCTYPE HTML>
2+
<html lang="en-US">
3+
<head>
4+
5+
<meta charset="UTF-8">
6+
<title>jQuery Github with Zepto</title>
7+
8+
<!-- Plugin CSS -->
9+
<link rel="stylesheet" href="../assets/base.css">
10+
11+
<!-- Demo CSS -->
12+
<link rel="stylesheet" href="css/style.css">
13+
14+
</head>
15+
<body>
16+
17+
<a href="https://github.com/zenorocha/jquery-github">
18+
<img class="github-ribbon" src="img/github-ribbon.png" alt="Fork me on GitHub">
19+
</a>
20+
21+
<div class="title">
22+
<h1>jQuery Github</h1>
23+
<p>A jQuery plugin to display your favorite Github Repositories.<br>For more informations, visit our <a href="https://github.com/zenorocha/jquery-github">repository</a>.</p>
24+
</div>
25+
26+
<div class="projects">
27+
<div data-repo="jquery-boilerplate/boilerplate"></div>
28+
<div data-repo="zenorocha/diveintohtml5"></div>
29+
<div data-repo="zenorocha/jquery-github"></div>
30+
<div data-repo="zenorocha/hub.me"></div>
31+
</div>
32+
33+
<p class="credits">Made with love by <a href="http://zenorocha.com">Zeno Rocha</a>.</p>
34+
35+
<img id="github-logo" src="img/github-cat.png" alt="Github Cat" />
36+
37+
<script src="http://zeptojs.com/zepto.min.js"></script>
38+
<script type="text/javascript" src="https://raw.github.com/madrobby/zepto/master/src/data.js"></script>
39+
<script src="../jquery.github.js"></script>
40+
41+
<script>
42+
$('[data-repo]').github();
43+
</script>
44+
45+
</body>
46+
</html>

0 commit comments

Comments
 (0)