Home

Awesome

OPrime

OPrime HTML5 Experimentation libraries written in MontageJS

Getting Started

On the server

Install the module with: npm install oprime-montage

var OPrime = require('OPrime');
var experiment = new OPrime.Experiment(); 
experiment.run();

In the browser

Download the production version or the development version.

In your web page:

<script src="dist/oprime-montage.min.js"></script>
<script>
var experiment = new Experiment(); 
experiment.run();
</script>

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

<script>
var exports = Bocoup.utils;
</script>
<script src="dist/oprime-montage.min.js"></script>
<script>
var experiment = new Bocoup.utils.Experiment(); 
experiment.run();
</script>

Documentation

Layout

The template contains the following files and directories:

Create the following directories if you need them:

Examples

See test directory

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

Currently in feasibilty study...

License

Copyright (c) 2013
Licensed under the Apache, 2.0 licenses.