blob: e33faab43e38e9b3823d924270589bca53ebbcb9 [file] [log] [blame]
requirejs.config({
baseUrl: '../js/src',
paths : {
'lib': '../lib'
}
});
var hint = undefined;
require(['hint','hint/foundries/cnx','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);
}