You will need to have nodeJS installed on your system. You can install it via the installers provided on the site or follow the installation guide here
Building is done with jake, JavaScript minifying is done with Uglify-js and CSS minifying is done with CleanCSS.
If you don't already have Jake installed, first install it using npm with:
npm install -g jake
Next, ensure you're in the root directory of the project then install development dependencies with:
npm install
Finally, build bbUI.js:
jake
or
jake build
Finding your way around:
Contains code for managing screens and managing the styling.
Contains all of the css rules for bbUI.
Contains all of the UI plugins. Each plugin should be in the format of:
bb.pluginName = {
apply: function (elements) {
//code to apply styling to the elements
}
};
Example screenshots for use in README.md
An example app that showcases each of the bbUI.js plugins.
The build location and also contains the current
- Fix the core.js registeration of plugins. Currently they are all hardcoded in the doLoad function
- Plugins should define their own css and have it built into bbUI.css
- More linting should be done
- add linting step into build