Skip to content

Commit b0d39dc

Browse files
author
Zeno Rocha
committed
Source formatting
1 parent 6230e84 commit b0d39dc

File tree

5 files changed

+37
-37
lines changed

5 files changed

+37
-37
lines changed

Gruntfile.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ module.exports = function(grunt) {
22

33
grunt.initConfig({
44

5-
// Meta informations
65
pkg: grunt.file.readJSON('package.json'),
76
meta: {
87
banner: '/*\n' +
@@ -64,8 +63,6 @@ module.exports = function(grunt) {
6463
}
6564
},
6665

67-
// Run JSHint, concat, minify and send it to the dist folder
68-
// any time a file is added, changed or deleted
6966
watch: {
7067
files: ['**/*'],
7168
tasks: ['jshint', 'concat', 'uglify'],

README.md

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
[![Github Repo Demonstration](http://f.cl.ly/items/2I3u29002A1g2w1R1I0X/Screen%20Shot%202013-01-17%20at%202.16.36%20PM.png)](http://zenorocha.github.com/jquery-github/)
44

5+
> A jQuery plugin to display your Github Repositories.
6+
7+
## Browser Support
8+
9+
We do care about it.
10+
11+
![IE](https://raw.github.com/paulirish/browser-logos/master/ie/ie_48x48.png) | ![Chrome](https://raw.github.com/paulirish/browser-logos/master/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/paulirish/browser-logos/master/firefox/firefox_48x48.png) | ![Opera](https://raw.github.com/paulirish/browser-logos/master/opera/opera_48x48.png) | ![Safari](https://raw.github.com/paulirish/browser-logos/master/safari/safari_48x48.png)
12+
--- | --- | --- | --- | --- |
13+
IE 8+ ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
14+
515
## Getting started
616

717
Three quick start options are available:
@@ -12,12 +22,14 @@ Three quick start options are available:
1222

1323
## Setup
1424

15-
Use [Bower](http://bower.io) to fetch all dependencies and you're ready to go:
25+
Use [Bower](http://bower.io) to fetch all dependencies:
1626

1727
```sh
1828
$ bower install
1929
```
2030

31+
Now you're ready to go!
32+
2133
## Usage
2234

2335
Create an attribute called `data-repo`:
@@ -92,7 +104,6 @@ The basic structure of the project is given in the following way:
92104
|-- dist/
93105
| |-- jquery.boilerplate.js
94106
| |-- jquery.boilerplate.min.js
95-
|-- lib/
96107
|-- src/
97108
| |-- jquery.boilerplate.coffee
98109
| |-- jquery.boilerplate.js
@@ -109,6 +120,10 @@ The basic structure of the project is given in the following way:
109120

110121
Contains CSS and Font files to create that lovely Github box.
111122

123+
#### bower_components/
124+
125+
Contains all dependencies like jQuery and Zepto.
126+
112127
#### [demo/](https://github.com/zenorocha/jquery-github/tree/master/demo)
113128

114129
Contains a simple HTML file to demonstrate the plugin.
@@ -117,10 +132,6 @@ Contains a simple HTML file to demonstrate the plugin.
117132

118133
This is where the generated files are stored once Grunt runs JSHint and other stuff.
119134

120-
#### [lib/](https://github.com/zenorocha/jquery-github/tree/master/lib)
121-
122-
Contains libraries like jQuery and Zepto.
123-
124135
#### [src/](https://github.com/zenorocha/jquery-github/tree/master/src)
125136

126137
Contains the files responsible for the plugin.
@@ -186,14 +197,6 @@ No problem, [@ricardobeat](https://github.com/ricardobeat) already did one. Chec
186197

187198
No problem, [@igorlima](https://github.com/igorlima) already did that. Check [demo/index-zepto.html](https://github.com/zenorocha/jquery-github/tree/master/demo/index-zepto.html).
188199

189-
## Browser Support
190-
191-
We do care about it.
192-
193-
![IE](https://raw.github.com/paulirish/browser-logos/master/ie/ie_48x48.png) | ![Chrome](https://raw.github.com/paulirish/browser-logos/master/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/paulirish/browser-logos/master/firefox/firefox_48x48.png) | ![Opera](https://raw.github.com/paulirish/browser-logos/master/opera/opera_48x48.png) | ![Safari](https://raw.github.com/paulirish/browser-logos/master/safari/safari_48x48.png)
194-
--- | --- | --- | --- | --- |
195-
IE 8+ ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
196-
197200
## Contributing
198201

199202
Check [CONTRIBUTING.md](https://github.com/zenorocha/jquery-github/blob/master/CONTRIBUTING.md).

bower.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"name": "jquery-github",
3-
"version": "0.3.2",
4-
"homepage": "https://github.com/zenorocha/jquery-github",
5-
"authors": [
6-
"Zeno Rocha <hi@zenorocha.com>"
7-
],
8-
"description": "A jQuery plugin to display your Github Repositories.",
9-
"main": "src/jquery.github.js",
10-
"keywords": [
11-
"jquery",
12-
"github"
13-
],
14-
"license": "MIT",
15-
"dependencies": {
16-
"zepto": "~1.0.0",
17-
"jquery": "~2.0.3"
18-
}
2+
"name": "jquery-github",
3+
"version": "0.3.2",
4+
"homepage": "https://github.com/zenorocha/jquery-github",
5+
"authors": [
6+
"Zeno Rocha <hi@zenorocha.com>"
7+
],
8+
"description": "A jQuery plugin to display your Github Repositories.",
9+
"main": "src/jquery.github.js",
10+
"keywords": [
11+
"jquery",
12+
"github"
13+
],
14+
"license": "MIT",
15+
"dependencies": {
16+
"zepto": "~1.0.0",
17+
"jquery": "~2.0.3"
18+
}
1919
}

demo/index-zepto.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ <h1>jQuery Github</h1>
2424
</div>
2525

2626
<div class="projects">
27-
<div data-repo="jquery-boilerplate/boilerplate" class="github-box-wrap"></div>
28-
<div data-repo="zenorocha/diveintohtml5" class="github-box-wrap"></div>
27+
<div data-repo="jquery-boilerplate/jquery-boilerplate" class="github-box-wrap"></div>
28+
<div data-repo="zenorocha/dracula-theme" class="github-box-wrap"></div>
2929
<div data-repo="zenorocha/jquery-github" class="github-box-wrap"></div>
3030
<div data-repo="zenorocha/hub.me" class="github-box-wrap"></div>
3131
</div>

demo/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h1>jQuery Github</h1>
2525

2626
<div class="projects">
2727
<div data-repo="jquery-boilerplate/jquery-boilerplate" class="github-box-wrap"></div>
28-
<div data-repo="zenorocha/diveintohtml5" class="github-box-wrap"></div>
28+
<div data-repo="zenorocha/dracula-theme" class="github-box-wrap"></div>
2929
<div data-repo="zenorocha/jquery-github" class="github-box-wrap"></div>
3030
<div data-repo="zenorocha/hub.me" class="github-box-wrap"></div>
3131
</div>

0 commit comments

Comments
 (0)