Skip to content
Akshay Sharma edited this page Mar 22, 2015 · 1 revision

Repository Profile

It will render GitHub repository details to the selector.

Parameters

  • username is a string which has to be valid GitHub account username.
  • reponame is a string which has to be valid GitHub repository name owned by the above mentioned username.
  • selector is a string containing one or more CSS selectors separated by commas.
  Github.repoProfile({
    username: 'atom',
    reponame: 'atom',
    selector: '.repo-1'
  });

Repository Activity

It will render GitHub repository details and public activity to the selector. Activities older than 90 days will not be shown in the feed.

Parameters

  • username is a string which has to be valid GitHub account username.
  • reponame is a string which has to be valid GitHub repository name owned by the above mentioned username.
  • selector is a string containing one or more CSS selectors separated by commas.
  • limit(optional) - default and maximum is 30 - is an integer value to restrict the number of recent activities you want to render.
  Github.repoActivity({
    username: 'joyent',
    reponame: 'node',
    selector: '.repo-2',
    limit: 25
  });
Clone this wiki locally