Sha256: 3ce33694d7b2a8c496a5f34ee40c5f343980c574f1ddb457418ab82788db1322

Contents?: true

Size: 1.93 KB

Versions: 1

Compression:

Stored size: 1.93 KB

Contents

{:uriI"file:///Users/tony/src/resque-web/app/assets/javascripts/resque_web/polling.js.coffee?type=application/javascript&pipeline=self&id=3768c61e34dbdf2737a9e552036363fce7e7e88d90caad1864e0a6902c284bfa:ET:load_pathI"6/Users/tony/src/resque-web/app/assets/javascripts;F:
filenameI"S/Users/tony/src/resque-web/app/assets/javascripts/resque_web/polling.js.coffee;T:	nameI"resque_web/polling;T:logical_pathI"resque_web/polling.self.js;T:content_typeI"application/javascript;T:sourceI"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);
;T:
metadata{:dependencieso:Set:
@hash}	I"environment-version;TTI"environment-paths;TTI"jprocessors:type=application/javascript&file_type=application/javascript&engines=.coffee&pipeline=self;TTI"afile-digest:///Users/tony/src/resque-web/app/assets/javascripts/resque_web/polling.js.coffee;TTF:
requiredo;;}F:stubbedo;;}F:
linkso;;}F:charsetI"
utf-8;F:digest"%P.v$wm4n^~#4d`Hu:lengthi3:integrityI"9sha-256-UC6ldiR3bZCgNO5uXobMztv9fpQjAcc0EWRgSIu/dX8=;T:dependencies_digest"%+0,7?my06!X:idI"E3768c61e34dbdf2737a9e552036363fce7e7e88d90caad1864e0a6902c284bfa;F:
mtimel+/S

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
resque-web-0.0.8 test/dummy/tmp/cache/assets/test/sprockets/v3.0/0ODELEou22-nJxfSZ2mZEhMMw1Vh-dKzO0Y328W8j00.cache