xrafael / universal

Cross platform, core components of the GPII personalization infrastructure

Home Page:gpii.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GPII Universal

Cross platform, core components of the GPII personalization infrastructure.

Installation

Run the following command in your newly checked out universal repository. This will pull all dependencies that are required by universal.

npm install

Usage

To use any of the gpii components or funcionality in node, use the following statements to get access to fluid and/or gpii objects.

var fluid = require("universal");
gpii = fluid.registerNamespace("gpii");
// Now you should have access to both fluid
// and gpii namespace.

Testing

There are currently 2 different sets of tests: the ones that run in the browser and the ones that can run in node.

Running browser tests: open {universal}/tests/web/html/all-tests.html in your preferred browser:

Running node tests:

node tests/all-tests.js

About

Cross platform, core components of the GPII personalization infrastructure

gpii.net

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:JavaScript 100.0%