View multiple pages at the same time
Install the module with:
npm install kaleidoscope
var kaleidoscope = require('kaleidoscope'); kaleidoscope.awesome(); // "awesome"
In your web page:
<script src="dist/kaleidoscope.min.js"></script> <script> awesome(); // "awesome" </script>
In your code, you can attach kaleidoscope's methods to any object.
<script> this.exports = Bocoup.utils; </script> <script src="dist/kaleidoscope.min.js"></script> <script> Bocoup.utils.awesome(); // "awesome" </script>
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!
Copyright (c) 2012 Todd Wolfson
Licensed under the MIT license.