test/pages/observe.interaction-type.test.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Observe Interaction Type</title>
</head>
<body>
<h1>Observe Interaction Type</h1>
<script src="../../node_modules/requirejs/require.js"></script>
<script>
require.config({
paths: {
ally: '../../dist/amd',
// shims required by ally.js
'css.escape': '../../node_modules/css.escape/css.escape',
'platform': '../../node_modules/platform/platform'
}
});
require([
'ally/util/platform',
'ally/observe/interaction-type',
], function(platform, observeInteractionType) {
window._platform = platform;
window.handle = observeInteractionType();
});
</script>
</body>
</html>