mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-06 08:55:34 +00:00
* Fixes #107 - move __BUILD__ and dfltLayout variables into tavultesoft object * Cherry-pick fix for error from attachment api rework #114 * Fixup missing __BUILD__ reference * Update header version number * Fixup broken getDefaultKeyObject() call so we can release 2.0 * Fixes #118 - longpress menu sometimes missing base key on phone devices (#134) * Add note to build scripts to remind devs to make changes to both scripts
27 lines
825 B
JavaScript
27 lines
825 B
JavaScript
/***
|
|
KeymanWeb 10.0
|
|
Copyright 2017 SIL International
|
|
***/
|
|
|
|
/********************************************************/
|
|
/* */
|
|
/* Automatically initialize keymanweb with defaults */
|
|
/* after the page is fully loaded */
|
|
/* */
|
|
/********************************************************/
|
|
|
|
(function()
|
|
{
|
|
// Declare KeymanWeb object
|
|
var keymanweb=window['tavultesoft']['keymanweb'];
|
|
|
|
// We don't want to instantly init() in case this code is used via bookmarklet.
|
|
var readyStateCheckInterval = window.setInterval(function() {
|
|
if (document.readyState === "complete")
|
|
{
|
|
window.clearInterval(readyStateCheckInterval);
|
|
keymanweb.init(null);
|
|
}
|
|
}, 10);
|
|
|
|
})();
|