Skip to content

gitmash/jquery-github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQuery Github Repos

Github Repo Demonstration

Usage

Create an attribute called data-repo:

<div data-repo="jquery-boilerplate/boilerplate"></div>

Include jQuery:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>

Include plugin's CSS and JS:

<link rel="stylesheet" href="assets/base.css">
<script src="jquery.github.repos.min.js"></script>

Call the plugin:

$('[data-repo]').githubRepos();

And that's it \o/

Check the full example here

Forks

Prefer a non-jquery version with pure JavaScript? No problem, @ricardobeat already did one :) Check his fork!

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

  • v0.2.3 January 17, 2013
    • Updated to jQuery v1.9
  • v0.2.2 January 15, 2013
    • Fixed "Last commit" date
    • Cached repo data using sessionStorage
    • Added error message if API exceeds its limits
  • v0.2.1 January 13, 2013
    • Added live demo
    • Replaced single images for a sprite
    • Added minified version
  • v0.2 September 11, 2012
    • Code wrapped into a jQuery plugin
    • Demonstration page created
  • v0.1 September 10, 2012
    • Initial commit

License

MIT License

About

A jQuery plugin to display your Github Repositories.

Resources

Stars

Watchers

Forks

Packages

No packages published