@foxythemes/theme-switcher

0.0.1 • Public • Published

grunt-init-commonjs-sample

The best project ever.

Getting Started

On the server

Install the module with: npm install grunt-init-commonjs-sample

var grunt_init_commonjs_sample = require('grunt-init-commonjs-sample');
grunt_init_commonjs_sample.awesome(); // "awesome"

In the browser

Download the production version or the development version.

In your web page:

<script src="dist/grunt-init-commonjs-sample.min.js"></script>
<script>
awesome(); // "awesome"
</script>

In your code, you can attach grunt-init-commonjs-sample's methods to any object.

<script>
var exports = Bocoup.utils;
</script>
<script src="dist/grunt-init-commonjs-sample.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) 2012 "Cowboy" Ben Alman
Licensed under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i @foxythemes/theme-switcher

Weekly Downloads

0

Version

0.0.1

License

none

Unpacked Size

10.3 kB

Total Files

9

Last publish

Collaborators

  • behuti
  • miguelmich
  • aketmi