Home

Awesome

jQuery Github Repos

Github Repo Demonstration

Usage

Use the github-widget class and create an attribute called data-repo:

<div class="github-widget" 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 this jQuery plugin:

<script src="jquery.github.repos.min.js"></script>

Call the plugin:

<script>
  $('.github-repos').githubRepos();
</script>

And that's it \o/

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

License

MIT License