Skip to content

Instantly share code, notes, and snippets.

Avatar
🇲🇿
Peace for Mozambique!

Helder Oliveira heldrida

🇲🇿
Peace for Mozambique!
View GitHub Profile
@heldrida
heldrida / jquery.ba-tinypubsub.js
Created Mar 21, 2012 — forked from cowboy/HEY-YOU.md
jQuery Tiny Pub/Sub: A really, really, REALLY tiny pub/sub implementation for jQuery.
View jquery.ba-tinypubsub.js
/* jQuery Tiny Pub/Sub - v0.7 - 10/27/2011
* http://benalman.com/
* Copyright (c) 2011 "Cowboy" Ben Alman; Licensed MIT, GPL */
(function($) {
var o = $({});
$.subscribe = function() {
o.on.apply(o, arguments);
You can’t perform that action at this time.