Skip to content

Instantly share code, notes, and snippets.

@xrado
Created October 28, 2009 09:26
Show Gist options
  • Save xrado/220369 to your computer and use it in GitHub Desktop.
Save xrado/220369 to your computer and use it in GitHub Desktop.
CmdUtils.CreateCommand({
name: "moo",
description: "test moo",
preview: function(pblock, statusText) {
CmdUtils.injectJavascript("http://ajax.googleapis.com/ajax/libs/mootools/1.2.4/mootools-yui-compressed.js";,
Utils.safeWrapper(function() {
pblock.innerHTML = MooTools;
})
);
},
execute: function(statusText) {}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment