jabsorb-1.3/ 0000755 0001750 0001750 00000000000 11126250042 012316 5 ustar killer killer jabsorb-1.3/webapps/ 0000755 0001750 0001750 00000000000 11055233164 013766 5 ustar killer killer jabsorb-1.3/webapps/jsonrpc/ 0000755 0001750 0001750 00000000000 11055233164 015444 5 ustar killer killer jabsorb-1.3/webapps/jsonrpc/WEB-INF/ 0000755 0001750 0001750 00000000000 11055233164 016473 5 ustar killer killer jabsorb-1.3/webapps/jsonrpc/WEB-INF/web.xml 0000644 0001750 0001750 00000003534 11055233164 017777 0 ustar killer killer
![]() |
|
![]() |
|||||||||||||||||||||||
|
The tests run automatically when you load the page. It may take a second or so to run the tests and display the table.
Description |
Receive |
Echo Compare |
Pass |
---|
Word: Strategy: Database: Auto
Strategy: Default
Database: All
" + e + "
" +
"
Try reloading the page or connecting again later.
" } function statusResponse(r, e) { if (e != null) { server_status = null; displayError(e); return; } server_status = r; } function serverStatus() { jsonrpc.dict.checkConnection(statusResponse); status_timeout = setTimeout("serverStatus()", status_interval); } function gotDatabases(result, e) { if (e != null) return displayError(e); databases = result; databaseNode.options.length = databases.list.length + 1; databaseNode.options[0] = new Option("all", "*", true, true); for (var i = 0; i < databases.list.length; i++) databaseNode.options[i + 1] = new Option(databases.list[i].database, databases.list[i].database, false, false); } function gotStrategies(result, e) { if (e != null) return displayError(e); strategies = result; strategyNode.options.length = strategies.list.length + 1; strategyNode.options[0] = new Option("default", ".", true, true); for (var i = 0; i < strategies.list.length; i++) strategyNode.options[i + 1] = new Option(strategies.list[i].strategy, strategies.list[i].strategy, false, false); } function keyupEvent(evt) { evt = (evt) ? evt : event; var target_id; if (evt.target && evt.target.id) target_id = evt.target.id; else if (evt.srcElement && evt.srcElement.id) target_id = evt.srcElement.id; // IE if (evt.keyCode == 13 || evt.charCode == 13) { if (target_id == "lookup" || target_id == "word") { matchWord(); } else if (target_id == "matches") { wordNode.value = matchesNode.options[matchesNode.selectedIndex].value; defineWord(); } return false; } else if (autoNode.checked && target_id == "word" && wordNode.value.length >= 3) { matchWord(); return false; } return true; } function gotMatches(matches, e) { if (e != null) return displayError(e); matchesNode.options.length = matches.list.length; var selected = false; var currentWord = wordNode.value.toLowerCase(); for (var i = 0; i < matches.list.length; i++) { matchesNode.options[i] = new Option(matches.list[i].word, matches.list[i].word, false, false); if (matches.list[i].word.toLowerCase() == currentWord && !selected) { selected = matchesNode.options[i].selected = true; } } } function gotDefinitions(definitions, e) { if (e != null) return displayError(e); var newNode = document.createElement("div"); if (definitions.list.length == 0) { definitionsNode.removeChild(definitionsNode.childNodes[0]); definitionsNode.appendChild(newNode); return; } newNode.className = "dict_define_div"; newNode.appendChild(document.createElement("hr")); for (var i = 0; i < definitions.list.length; i++) { var db_desc; for (var j = 0; j < databases.list.length; j++) { if (databases.list[j].database == definitions.list[i].database) { db_desc = databases.list[j].description; } } var defText = definitions.list[i].definition; defText = defText.replace(/\n/g, "The jabsorb Hello World application.
Who:
jabsorb-1.3/webapps/jsonrpc/images/ 0000755 0001750 0001750 00000000000 11055233164 016711 5 ustar killer killer jabsorb-1.3/webapps/jsonrpc/images/shadow-right-top.gif 0000644 0001750 0001750 00000001762 11055233164 022606 0 ustar killer killer GIF89a ʷ¹, (P` (aC!