Behavior UI is a set of UI components based on Bootstrap and (optionally) Flat UI coupled with a JavaScript framework for building interactive components with a inline declaration for their invocation.
You are welcome to contribute to Behavior-UI! What we ask of you:
a. To report a bug:
- Create a jsFiddle with the minimal amount of code to reproduce the bug. You can fork this one: http://jsfiddle.net/nutron/70rmvys6/
- Create a Github Issue, and link to the jsFiddle.
b. To fix a bug:
- Clone the repo.
- Fix the bug.
- Run
grunt prod
to compile the distribution file(s). - Push to your Github fork.
- Create Pull Request, and send Pull Request.
Do try to contribute! This is a community project.
See TODO.md.
This library follows the MooTools Style Guide with one important exception: It uses spaces, not tabs, for whitespace indentation.
Current build process uses Grunt and Grunt MooTools Packager plugin.
You need to have grunt and bower installed in order to run through the build instructions below. Install them globally by doing:
$ npm install bower -g # installs bower globally
$ npm install grunt -g # installs grunt globally
$ npm install grunt-cli -g # installs the grunt command line interpreter which allows you to actually run grunt
$ git clone https://github.com/behavior-ui/behavior-ui # clone the repo
$ cd behavior-ui # get into the directory
$ npm install # install de testing tools
$ bower install # installs external dependencies
$ grunt default # build the /dist/js/behavior-ui file