blob: 788278758cfe0fee5810a9a8593c432e6508f750 [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;
KorAP.Hint = null;
domReady(function() {
KorAP.Hint = hintClass.create();
});
});
function demoAlert (pos, msg) {
if (KorAP.hint !== undefined)
KorAP.Hint.alert(pos, msg);
}