Skip to content

Instantly share code, notes, and snippets.

Avatar

Alban albanx

View GitHub Profile
View jquery.tinypubsub.js
/*!
* jQuery Tiny Pub/Sub for jQuery 1.7 - v0.1 - 27/10/2011
* Based on @cowboy Ben Alman's REALLY tiny pub/sub.
* 1.7 specific updates by @addyosmani.
* Copyright maintained by @cowboy.
* Dual licensed under the MIT and GPL licenses.
* Edit By Alban to allow object context and return
*/
(function($)