rednose / rednose-ui
RedNoseUI JavaScript framework.
Installs: 363
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 0
Language:JavaScript
README
RedNoseUI is a JavaScript framework, providing core features used across several RedNose products. RedNoseUI is provided under the MIT license.
Usage
<html>
<head>
<link href="build/rednose-ui/rednose-ui-min.css" rel="stylesheet"/>
<script src="build/rednose-ui/rednose-ui-min.js"></script>
</head>
<body class="yui3-skin-sam">
<script>
YUI().use('rednose-dialog', function (Y) {
Y.Rednose.Dialog.alert({title: 'RedNoseUI', text: 'Hello world'});
});
</script>
</body>
</html>
Development
Dependencies
-
Install NodeJS, if you don't have it yet.
-
Install global dependencies:
[sudo] npm install -g grunt-cli yogi recess
-
Install local dependencies:
npm install
Building
-
To build the entire library, CSS and seed file:
grunt build
-
To build a single module, run from a module dir:
yogi build
After adding new modules or updating existing module meta data, the rednose-loader
module needs to be rebuilt.
Testing
-
To test the entire library, CSS and seed file:
grunt test
-
To test a single module, run from a module dir:
yogi test
About
RedNoseUI is a RedNose initiative.