Skip to content

Commit bc9db31

Browse files
committed
Merge branch 'gh-pages' of github.com:erikzaadi/jQueryPlugins
Conflicts: jQuery.GitHubBadge/Sample/Sample.html jQuery.GitHubBadge/index.html
2 parents 107c337 + f743966 commit bc9db31

File tree

3 files changed

+44
-4
lines changed

3 files changed

+44
-4
lines changed

index.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<html>
2+
<head>
3+
<title>Erik Zaadi @ Github -> jQuery Plugins</title>
4+
</head>
5+
<body>
6+
<h1>jQuery Plugins</h1>
7+
<h3>Still working on getting these pages up...</h3>
8+
<h4><a href="jQuery.GitHubBadge/">jQuery.GitHubBadge</a></h4>
9+
<script type="text/javascript">
10+
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
11+
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
12+
</script>
13+
<script type="text/javascript">
14+
try {
15+
var pageTracker = _gat._getTracker("UA-8728177-2");
16+
pageTracker._trackPageview();
17+
} catch(err) {}</script>
18+
</body>
19+
</html>

jQuery.GitHubBadge/Sample/Sample.html

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@
44
<title>Erik Zaadi @ GitHub -> jQuery Plugins -> jQuery GitHub Badge 1.0 -> Sample Page</title>
55

66
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
7-
8-
<script type="text/javascript" src="../jquery.GitHubBadge.min.js"></script>
7+
<script type="text/javascript" src="../../../chili/jquery.chili-2.2.js"></script>
8+
<script type="text/javascript">
9+
ChiliBook.recipeFolder = "http://erikzaadi.github.com/chili/";
10+
</script>
11+
<script type="text/javascript" src="../jquery.GitHubBadge.min.js"></script>
912

1013
<script type="text/javascript">
1114
$(document).ready(function() {
@@ -59,9 +62,9 @@ <h2>
5962
<div>
6063
<h3>Usage :</h3>
6164
<h4>Simple Usage : </h4>
62-
<pre><code>$('Selector').GitHubBadge('usernamestring');</code></pre>
65+
<pre><code class="js">$('Selector').GitHubBadge('usernamestring');</code></pre>
6366
<h4>Advanced Usage : </h4>
64-
<pre><code>$('Selector').GitHubBadge({
67+
<pre><code class="js">$('Selector').GitHubBadge({
6568
user: 'usernamestring', // Mandatory (Duh!)
6669
showErrors: true, //Display error messages (default:false)
6770
showForks: true, //Shows not only personal public repositories, but forks as well (default:true)
@@ -79,5 +82,14 @@ <h4>Advanced Usage : </h4>
7982
Typical usage : loading image/text...</div>
8083
</div>
8184
<div><a href="../">Home</a></div>
85+
<script type="text/javascript">
86+
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
87+
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
88+
</script>
89+
<script type="text/javascript">
90+
try {
91+
var pageTracker = _gat._getTracker("UA-8728177-2");
92+
pageTracker._trackPageview();
93+
} catch(err) {}</script>
8294
</body>
8395
</html>

jQuery.GitHubBadge/index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,14 @@ <h4><a href="jquery.GitHubBadge.min.js">Download (Minified)</a></h4>
2424
http://www.opensource.org/licenses/mit-license.php
2525
http://www.gnu.org/licenses/gpl.html
2626
</div>
27+
<script type="text/javascript">
28+
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
29+
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
30+
</script>
31+
<script type="text/javascript">
32+
try {
33+
var pageTracker = _gat._getTracker("UA-8728177-2");
34+
pageTracker._trackPageview();
35+
} catch(err) {}</script>
2736
</body>
2837
</html>

0 commit comments

Comments
 (0)