blob: fd80b43bb49cf225b22cb7d4f39aa52a76ae8ea1 [file] [log] [blame]
requirejs.config({
baseUrl: '../js/src',
paths : {
'lib': '../lib'
}
});
var hint = undefined;
require(['hint','hint/array','lib/domReady'], function (hintClass, hintArray, domReady) {
KorAP.hintArray = hintArray;
domReady(function() {
hint = hintClass.create();
});
});
function demoAlert (pos, msg) {
if (hint !== undefined)
hint.charAlert(pos, msg);
}