Sha256: 1d20b6c00afd290fe3a898a1195d0fd64333d577b118d771f8ef210ff0f33d0a

Contents?: true

Size: 1.25 KB

Versions: 7

Compression:

Stored size: 1.25 KB

Contents

(function() {
  var $, FlatMessage, 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>';

  FlatMessage = (function(_super) {

    __extends(FlatMessage, _super);

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

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

    return FlatMessage;

  })(window.Messenger.Message);

  window.Messenger.themes.flat = {
    Message: FlatMessage
  };

}).call(this);

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
messenger-rails-1.4.1 vendor/assets/javascripts/messenger-theme-flat.js
messenger-rails-0.0.1 vendor/assets/javascripts/messenger-theme-flat.js
messengerjs-rails-1.4.1 vendor/assets/javascripts/messenger-theme-flat.js
messengerjs-rails-1.4.0 vendor/assets/javascripts/messenger-theme-flat.js
flashtastic-0.0.1 vendor/assets/javascripts/messenger-theme-flat.js
messengerjs-rails-1.3.6.2 vendor/assets/javascripts/messenger-theme-flat.js
messengerjs-rails-1.3.6.1 vendor/assets/javascripts/messenger-theme-flat.js