In the new API, many functions have been split into new files. This change helps to
both isolate functionality, and localize areas of engagement.
The new files are:
- html/js/PlatformIdentification.js – the device
and platform identification logic like hwc.isIOS().
- html/js/hwc-comms.js – the functions that
communicate with the container, and often ultimately to
Unwired Server.
- html/js/hwc-api.js – the functions that work
with application query, and control of the container itself. Use these
functions to restyle container behavior.
- html/js/hwc-utils.js – various utility functions
used by both the container and application.
Compare old and new HTML files, and update file source references to point to these
new files.