0.1.0 • Published 8 years ago

jquery-bitbucket-tracker v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

jquery-bitbucket-tracker

Track your public repositories from Bitbucket.

Preview

jquery-bitbucket-tracker

Install

Via 'pip'

npm install jquery-bitbucket-tracker

Or download the files.

Arguments

    username: "jslirola",       // Account name of Bitbucket
    showDetails: false,         // Details of repository like description
    getCommits: {
        showTable: true,        // When the repo is clicked will show the table
        cssTable: "repoTable",  // Selector to show the events output
        maxRows: 10             // Between 0 and 50 events
    }

Usage

Include jQuery library and the script.

    <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
    <script src="bbucketTrack.js"></script>

Define a list where your repositories will be show.

    <ul class="repos"></ul>

Call the constructor of the class.

    $("ul.repos").bbRepositories({
        username: "jslirola",
        showDetails: true,
        getCommits: {
            cssTable: "table table-striped",
        }
    });

Next updates

  • Date format
  • Track another events apart from commits
  • Custom visibility
  • Check private repositories (Require OAuth)