Created
September 19, 2008 22:15
-
-
Save roskoff/11669 to your computer and use it in GitHub Desktop.
This file contains 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
// ------------------------ | |
// RAE | |
// ------------------------ | |
CmdUtils.CreateCommand({ | |
name: "rae", | |
description: "Busca el significado de una palabra.", | |
help: "Utiliza el diccionario de la Real Academia Española <br> " + | |
"para buscar el significado de una palabra. <br> " + | |
"Probar utilizando "rae cornucopia" <br> " + | |
"(Basado en el comando define)" , | |
author: { name: "Eliseo Ocampos", email: "[email protected]"}, | |
license: "MPL", | |
takes: {"palabra": noun_arb_text}, | |
execute: function( directObj ) { | |
var palabra = directObj.text; | |
Utils.openUrlInBrowser( "http://www.rae.es/" + escape(palabra) ); | |
} | |
// TODO: preview | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment