OPrime HTML5 Experimentation libraries written in MontageJS
Install the module with:
npm install oprime-montage
var OPrime = ;var experiment = ;experiment;
In your web page:
In your code, you can attach OPrime's methods to any object.
The template contains the following files and directories:
package.json– Describes your app and its dependencies
README.markdown– This readme. Replace the current content with a description of your app
ui/– Directory containing all the UI .reel directories.
main.reel– The main interface component
core/– Directory containing all core code for your app.
node_modules/– Directory containing all npm packages needed, including Montage. Any packages here must be included as
package.jsonfor the Montage require to find them.
assets/– Assets such as global styles and images for your app
test/– Directory containing tests for your app.
all.js– Module that point the test runner to all your jasmine specs.
run-tests.html– Page to run jasmine tests manually in your browser
Create the following directories if you need them:
locale/– Directory containing localized content.
scripts/– Directory containing other JS libraries. If a library doesn’t support the CommonJS "exports" object it will need to be loaded through a
See test directory
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!
Currently in feasibilty study...
Copyright (c) 2013
Licensed under the Apache, 2.0 licenses.