Skip to content

Latest commit

 

History

History
57 lines (42 loc) · 1.31 KB

README.md

File metadata and controls

57 lines (42 loc) · 1.31 KB

capella.js

Microtemplating library

Getting Started

On the server

Install the module with: npm install capella.js

var capella_js = require('capella.js');
capella_js.awesome(); // "awesome"

In the browser

Download the production version or the development version.

In your web page:

<script src="dist/capella.js.min.js"></script>
<script>
awesome(); // "awesome"
</script>

In your code, you can attach capella.js's methods to any object.

<script>
var exports = Bocoup.utils;
</script>
<script src="dist/capella.js.min.js"></script>
<script>
Bocoup.utils.awesome(); // "awesome"
</script>

Documentation

(Coming soon)

Examples

(Coming soon)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

Also, please don't edit files in the "dist" subdirectory as they are generated via Grunt. You'll find source code in the "lib" subdirectory!

Release History

(Nothing yet)

License

Copyright (c) 2014 vinit Kumar
Licensed under the MIT license.