Sha256: ae5a9a6e37faa687217794bf40f70c48fe1cd3c61d3a450b65c8088d170128ab

Contents?: true

Size: 1.27 KB

Versions: 15

Compression:

Stored size: 1.27 KB

Contents

(function() {
  var $, FutureMessage, spinner_template,
    __hasProp = {}.hasOwnProperty,
    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };

  $ = jQuery;

  spinner_template = '<div class="messenger-spinner">\n    <span class="messenger-spinner-side messenger-spinner-side-left">\n        <span class="messenger-spinner-fill"></span>\n    </span>\n    <span class="messenger-spinner-side messenger-spinner-side-right">\n        <span class="messenger-spinner-fill"></span>\n    </span>\n</div>';

  FutureMessage = (function(_super) {

    __extends(FutureMessage, _super);

    function FutureMessage() {
      return FutureMessage.__super__.constructor.apply(this, arguments);
    }

    FutureMessage.prototype.template = function(opts) {
      var $message;
      $message = FutureMessage.__super__.template.apply(this, arguments);
      $message.append($(spinner_template));
      return $message;
    };

    return FutureMessage;

  })(window.Messenger.Message);

  window.Messenger.themes.future = {
    Message: FutureMessage
  };

}).call(this);

Version data entries

15 entries across 15 versions & 4 rubygems

Version Path
rails_notice-1.0.2 app/assets/javascripts/rails_notice/messenger-theme-future.js
rails_notice-1.0.1 app/assets/javascripts/rails_notice/messenger-theme-future.js
rails_notice-1.0.0 app/assets/javascripts/rails_notice/messenger-theme-future.js
rails_notice-0.1.0 app/assets/javascripts/rails_notice/messenger-theme-future.js
messenger-rails-1.4.1 vendor/assets/javascripts/messenger-theme-future.js
messenger-rails-0.0.1 vendor/assets/javascripts/messenger-theme-future.js
messengerjs-rails-1.4.1 vendor/assets/javascripts/messenger-theme-future.js
messengerjs-rails-1.4.0 vendor/assets/javascripts/messenger-theme-future.js
flashtastic-0.0.1 vendor/assets/javascripts/messenger-theme-future.js
messengerjs-rails-1.3.6.2 vendor/assets/javascripts/messenger-theme-future.js
messengerjs-rails-1.3.6.1 vendor/assets/javascripts/messenger-theme-future.js
messengerjs-rails-1.3.6 vendor/assets/javascripts/messenger-theme-future.js
messengerjs-rails-1.3.5 vendor/assets/javascripts/messenger-theme-future.js
messengerjs-rails-1.3.3 vendor/assets/javascripts/messenger-theme-future.js
messengerjs-rails-1.3.0 vendor/assets/javascripts/messenger-theme-future.js