## UMD Validation

These examples demonstrate the TOP package's UMD support.

TOP may be used as a browser global, CommonJS module, or AMD module.

These examples need to be run from the compiled docs directory (`/bin/docs/...`) to correctly load the TOP artifact.

### `global/`

Includes TOP directly on the page with a script tag and uses the TOP namespace available on the window.

### `amd/`

Includes TOP via RequireJS and uses a reference to TOP scoped to the module that required it.

### `commonjs/`

Includes TOP as a module through the webpack and/or browserify build tools and uses a reference to TOP scoped to the module that required it.

To run this example:
* Run `npm install`
* Run `npm run webpack` or `npm run browserify`
* Load the `index.html` page in the browser
