Skip to content

Instantly share code, notes, and snippets.

@xrado
Created October 28, 2009 09:26
Show Gist options
  • Select an option

  • Save xrado/220369 to your computer and use it in GitHub Desktop.

Select an option

Save xrado/220369 to your computer and use it in GitHub Desktop.

Revisions

  1. xrado created this gist Oct 28, 2009.
    12 changes: 12 additions & 0 deletions x.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    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) {}
    });