This is now an actual repo:
Last active
July 16, 2025 03:49
-
Star
(554)
You must be signed in to star a gist -
Fork
(174)
You must be signed in to fork a gist
-
-
Save cowboy/661855 to your computer and use it in GitHub Desktop.
jQuery Tiny Pub/Sub: A really, really, REALLY tiny pub/sub implementation for jQuery.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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); | |
}; | |
$.unsubscribe = function() { | |
o.off.apply(o, arguments); | |
}; | |
$.publish = function() { | |
o.trigger.apply(o, arguments); | |
}; | |
}(jQuery)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* jQuery Tiny Pub/Sub - v0.7 - 10/27/2011 | |
* http://benalman.com/ | |
* Copyright (c) 2011 "Cowboy" Ben Alman; Licensed MIT, GPL */ | |
(function(a){var b=a({});a.subscribe=function(){b.on.apply(b,arguments)},a.unsubscribe=function(){b.off.apply(b,arguments)},a.publish=function(){b.trigger.apply(b,arguments)}})(jQuery) |
@PestControlNumpa2 wow that sounds like a great deal. Thank you for this information. Does your pest control work on GitHub repo comments?
Man why do I even bother with open source
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At Pest Control Ann Arbor, we provide top-quality pest control solutions to protect homes and businesses from unwanted pests. Our experienced team offers safe and effective treatments for cockroaches, rodents, termites, mosquitoes, and more. We use eco-friendly methods to ensure long-term pest prevention. Customer satisfaction and a pest-free environment are our top priorities. Trust Pest Control Ann Arbor for reliable, professional, and affordable pest control services.