RedNoseUI is a JavaScript framework, providing core features used across several RedNose products. RedNoseUI is provided under the MIT license.
<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>
-
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
-
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.
-
To test the entire library, CSS and seed file:
grunt test
-
To test a single module, run from a module dir:
yogi test
RedNoseUI is a RedNose initiative.