Skip to content

Instantly share code, notes, and snippets.

View bridgkick's full-sized avatar

Eric Bridgwater bridgkick

  • Microsoft
  • Vancouver BC, Canada
View GitHub Profile
@bridgkick
bridgkick / gist:110689
Created May 12, 2009 19:37
VKI Basecamp commands
CmdUtils.CreateCommand({
name: "clean",
//takes: {"what": noun_arb_text},
//modifiers: {with: noun_arb_text, in: noun_arb_text},
preview: function( pblock, what, mods ) {
// args contains .with and .in, both of which are input objects.
//var msg = 'Cleans"{$what}" with {$with} in {$in}.';
var msg = 'Cleans extra lines, headers and HRs.';
//var subs = {what: what.text, with: mods.with.text, in: mods.in.text};