Skip to content

Instantly share code, notes, and snippets.

@wwood
Created May 19, 2009 11:10
Show Gist options
  • Save wwood/114044 to your computer and use it in GitHub Desktop.
Save wwood/114044 to your computer and use it in GitHub Desktop.
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