aboutsummaryrefslogtreecommitdiffstats
path: root/lookupDictionary.js
diff options
context:
space:
mode:
authorteramako2008-10-15 15:28:45 +0000
committerteramako2008-10-15 15:28:45 +0000
commit3dc8e4e07e475876801ff602bd9e047c92203934 (patch)
treed41e994a207d77c8ba74c80bce7a0879b2517c10 /lookupDictionary.js
parent4ca3ee635c6624add6514b2b8a5675ef61c67813 (diff)
downloadvimperator-plugins-3dc8e4e07e475876801ff602bd9e047c92203934.tar.bz2
namespaceの省略(vimperator CVS headと旧版との互換性維持のため)
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@21395 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'lookupDictionary.js')
-rw-r--r--lookupDictionary.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lookupDictionary.js b/lookupDictionary.js
index ebe69e2..f52b751 100644
--- a/lookupDictionary.js
+++ b/lookupDictionary.js
@@ -138,7 +138,7 @@ SpellChecker.prototype = {
var spellChecker = buildSpellChecker();
SITE_DEFINITION.forEach(function(dictionary){
- liberator.commands.addUserCommand(
+ commands.addUserCommand(
dictionary.names,
dictionary.shortHelp,
function(arg,special){
@@ -188,7 +188,7 @@ SITE_DEFINITION.forEach(function(dictionary){
}
);
});
-liberator.commands.addUserCommand(
+commands.addUserCommand(
['availabledictionaries'],
'display available dictionaries',
function () { liberator.echo('available dictionaries: ' + spellChecker.getDictionaryList()); },