Created
May 19, 2009 11:10
-
-
Save wwood/114044 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
CmdUtils.CreateCommand({ | |
names: ["life"], | |
arguments: [{label: "taxon", nountype: noun_arb_text, role: 'object'}], | |
author: { name: "Ben J. Woodcroft", email: "b.woodcroft@pgrad.unimelb.edu.au"}, | |
contributors: ["Ben J. Woodcroft"], | |
license: "GPL3", | |
description: "Go to tolweb.org page in a new window", | |
preview: "Go to tolweb.org page in a new window.", | |
execute: function(args) { | |
var urlString = "http://tolweb.org/"+args.object.text; | |
Utils.openUrlInBrowser(urlString); | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment