github-jquery-widgets
Getting Started
Check out the demonstration or documentation for more information.
Installing
# Using bower bower install --save github-jquery-widgets # Using node npm install --save github-jquery-widgets
Usage
Dependencies and widget files
The package ships with seperate files allowing various ways to handle dependencies and to include/exclude widgets. tip: use grunt-usemin or something likewise to concat and minify your js/css.
<!-- includes: spin.js, widget.js, handlebars.runtime.min.js -->
As an alternative, instead of using the packed radic.githubwidgets.js, you can use the non-packed version. You will have to include spin.js
, widget.js
and handlebars.runtime.js
yourself. An example:
<!-- provides widget.js (jQuery UI Widget Factory) -->
Initializing a widget
;
More information can be found in the API documentation
Customizing your build
By downloading the source, you can create a customized build. You can alter the HTML templates and SCSS.
Getting started
git clone https://github.com/robinradic/github-jquery-widgets # or fork->clone a version. cd github-jquery-widgets./scripts/bootstrap.sh # This will update-init the radicjs submodule and copy the pre-commit hook that updates the submodule before commiting npm installbower install
More information soon
License
Copyright 2014 Robin Radic