0x08513fa0849e28b752c09211864866f4de2b4e613b4d517c4c210364ecc51957
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function dictionaryWord(word, callback) { | |
| var url = "http://services.aonaware.com/DictService/DictService.asmx/DefineInDict"; | |
| var params = Utils.paramsToString({ | |
| dictId: "wn", //wn: WordNet, gcide: Collaborative Dictionary | |
| word: word | |
| }); | |
| Utils.ajaxGet(url + params, function(xml) { | |
| CmdUtils.loadJQuery( function(jQuery) { | |
| var text = jQuery(xml).find("WordDefinition").text(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function findSynonyms(word, callback) { | |
| var url = "http://services.aonaware.com/DictService/DictService.asmx/DefineInDict"; | |
| var params = Utils.paramsToString({ | |
| dictId: "moby-thes", //moby-thes: Moby Thesaurus II | |
| word: word | |
| }); | |
| Utils.ajaxGet(url + params, function(xml) { | |
| CmdUtils.loadJQuery( function(jQuery) { | |
| var text = jQuery(xml).find("WordDefinition").text(); |