Skip to content

JoelSutherland/GitHub-jQuery-Repo-Widget

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

[Optimize]  Switch $.ajax() to $.getJSON() for more jQuery API compatible libraries
c51fa78

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

GitHub Web Widget

Web Component set for GitHub based on EasyWebApp

What does it look like?

Repository ScreenShot

Profile ScreenShot

How do I use it?

Everwhere you want a widget to be placed, add the following markup:

<div data-href="path/to/Repository.html?repo=yourID/repoName"></div>

<div data-href="path/to/Profile.html?user=yourID"></div>

(More codes about initialization of EWA project, please read demo/index.html)

That's it! All of the styling is included and image assets are pulled from GitHub.

Acknowledgements

All HTML & CSS codes of this repository come from following open source projects: