Sha256: 955c4634f249e2a086b92afedd74b69ccc52f89d37b94a9ab2d443033fd0032c
Contents?: true
Size: 1.57 KB
Versions: 2
Compression:
Stored size: 1.57 KB
Contents
{I" class:ETI"ProcessedAsset; FI"logical_path; TI"resque_web/polling.js; FI" pathname; TI"S/Users/tony/src/resque-web/app/assets/javascripts/resque_web/polling.js.coffee; FI"content_type; TI"application/javascript; TI" mtime; Tl+±Â/SI"length; Ti3I"digest; TI"%2b8bcb6474e893868c0baca85d645708; FI"source; TI"3(function() { jQuery(function() { var poll_interval, poll_start; poll_interval = 2; poll_start = function(el) { var href; href = el.attr("href"); el.parent().text("Starting..."); $("#main").addClass("polling"); setInterval((function() { return $.ajax({ dataType: "text", type: "get", url: href, success: function(data) { $("#main").html(data); return $("#main .time").relativeDate(); } }); }), poll_interval * 1000); return location.hash = "#poll"; }; if (location.hash === "#poll") { poll_start($("a[rel=poll]")); } return $("a[rel=poll]").click(function(e) { e.preventDefault(); return poll_start($(this)); }); }); }).call(this); ; TI"dependency_digest; TI"%5d0a8ffb70ed204d5d61746a265ff4e8; FI"required_paths; T[I"S/Users/tony/src/resque-web/app/assets/javascripts/resque_web/polling.js.coffee; FI"dependency_paths; T[{I" path; TI"S/Users/tony/src/resque-web/app/assets/javascripts/resque_web/polling.js.coffee; FI" mtime; TI"2014-03-23T22:29:21-07:00; TI"digest; TI"%0657bf02a352b72a1110065eda7939c5; FI" _version; TI"%a56df69ef97ba4d9f1a23bf9b0add58a; F
Version data entries
2 entries across 2 versions & 1 rubygems