jonlb / behavior-ui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

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.

Contribute

You are welcome to contribute to Behavior-UI! What we ask of you:

a. To report a bug:

  1. Create a jsFiddle with the minimal amount of code to reproduce the bug. You can fork this one: http://jsfiddle.net/nutron/70rmvys6/
  2. Create a Github Issue, and link to the jsFiddle.

b. To fix a bug:

  1. Clone the repo.
  2. Fix the bug.
  3. Run grunt to compile the distribution file(s).
  4. Push to your Github fork.
  5. Create Pull Request, and send Pull Request.

Do try to contribute! This is a community project.

TO DO

See TODO.md.

StyleGuide

This library follows the MooTools Style Guide with one important exception: It uses spaces, not tabs, for whitespace indentation.

Building

Current build process uses Grunt and Grunt MooTools Packager plugin.

Installation Prerequisites

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

Installation, Building locally

$ 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

About


Languages

Language:JavaScript 58.6%Language:CSS 31.1%Language:HTML 10.3%Language:Objective-C++ 0.0%