Sha256: 107c7befad23fe7ecc8d7e1474a757e359a2c4b036120fb5eab4848ff3f548a2
Contents?: true
Size: 694 Bytes
Versions: 14
Compression:
Stored size: 694 Bytes
Contents
//= require social_stream.action SocialStream.Events.Action = (function(SS, $, undefined){ var animateCalendar = function(action) { if (action.activity_object.type != "Event") { return; } if (!action.follow) { return; } var fromEl = SS.Action.followForms(action).closest(".event").find("time"); var fromDate = new Date(fromEl.attr('datetime')); var toEl = SS.Calendar.eventElement(fromDate) || SS.Calendar.element; if (action.follow.following) { fromEl.effect("transfer", {to: toEl}, 1000); toEl.addClass("busy"); } else { toEl.effect("pulsate"); } } // SocialStream.Action.addUpdateCallback(animateCalendar); return { } })(SocialStream, jQuery);
Version data entries
14 entries across 14 versions & 2 rubygems