Contains modules that will be useful as part of a hyperaudio.js library, used by developers to create applications.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
dist
examples
lib
src
test
.gitignore
.nvmrc
.prettierrc
Gruntfile.js
LICENSE
README.md
index.html
package.json

README.md

hyperaudio-lib

Contains modules that will be useful as part of a hyperaudio-lib.js library, used by developers to create applications.

Utilities

Address

The Address Utility is a URL parameter manager, that works with the History API to update the URL.

To enable the feature, you must initiate it:

// Init the Address utility
HA.Address.init();

Use the Address utility:

HA.Address.setParam(name, value);
HA.Address.getParam(name);

Examples:

HA.Address.setParam('id', '123456');
var id = HA.Address.getParam('id');

See also: HA.getURLParameter(name)

Build and Deploy

  1. find a clean area
  2. clone hyperaudio-lib.git (enter directory)
  3. npm install
  4. grunt build
  5. clone hyperaudio-pad.git (enter directory)
  6. npm install
  7. grunt build
  8. deploy webapps/htdocs/pad/dist/hyperaudio-pad.min.js