﻿/*! Tiny Pub/Sub - v0.7.0 - 2013-01-29
* https://github.com/cowboy/jquery-tiny-pubsub
* Copyright (c) 2013 "Cowboy" Ben Alman; Licensed MIT */
(function (n) { var u = n({}); n.subscribe = function () { u.on.apply(u, arguments) }, n.unsubscribe = function () { u.off.apply(u, arguments) }, n.publish = function () { u.trigger.apply(u, arguments) } })(jQuery);
﻿/*! Tiny Pub/Sub - v0.7.0 - 2015-04-20
 * https://github.com/cowboy/jquery-tiny-pubsub
 * Copyright (c) 2015 "Cowboy" Ben Alman; Licensed MIT */
!function(a){var b=a({});a.subscribe=function(){b.off.apply(b,arguments),b.on.apply(b,arguments)},a.unsubscribe=function(){b.off.apply(b,arguments)},a.publish=function(){b.trigger.apply(b,arguments)}}(jQuery);
update pubsub to unsubscribe before subscribing