Skip to content

Instantly share code, notes, and snippets.

@davemfletcher
Created February 24, 2013 21:16
Show Gist options
  • Select an option

  • Save davemfletcher/5025665 to your computer and use it in GitHub Desktop.

Select an option

Save davemfletcher/5025665 to your computer and use it in GitHub Desktop.

Revisions

  1. davemfletcher created this gist Feb 24, 2013.
    4 changes: 4 additions & 0 deletions gistfile1
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    var o = $( {} );
    $.subscribe = o.on.bind(o);
    $.unscribe = o.off.bind(o);
    $.publish = o.trigger.bind(o);