Sha256: 1b291e603f85fc73b3f657723bee36f2e6533b37e2151615a87a1bbdb36fc156

Contents?: true

Size: 1.96 KB

Versions: 9

Compression:

Stored size: 1.96 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1383740409.741434:@value"o{I"
class:EFI"BundledAsset;FI"logical_path;FI"2iugu-ux/components/usecode/iugu-ui-toolbar.js;TI"
pathname;FI"t/Users/alezonez/Projetos/iugu-ux/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-toolbar.js.coffee;TI"content_type;FI"application/javascript;FI"
mtime;FI"2013-06-24T09:20:19-03:00;FI"length;Fi]I"digest;F"%cb773c986587711761636d9d3241d432I"source;FI"](function() {
  var _ref,
    __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; };

  IuguUI.Toolbar = (function(_super) {
    __extends(Toolbar, _super);

    function Toolbar() {
      _ref = Toolbar.__super__.constructor.apply(this, arguments);
      return _ref;
    }

    Toolbar.prototype.layout = "iugu-ui-toolbar";

    Toolbar.prototype.events = {
      'click a': 'buttonClicked'
    };

    Toolbar.prototype.initialize = function() {
      Toolbar.__super__.initialize.apply(this, arguments);
      return this;
    };

    Toolbar.prototype.context = function() {
      return {
        buttons: this.options.buttons
      };
    };

    Toolbar.prototype.render = function() {
      Toolbar.__super__.render.apply(this, arguments);
      return this;
    };

    Toolbar.prototype.buttonClicked = function(e) {
      var action, btn;
      e.preventDefault();
      btn = $(e.currentTarget);
      action = btn.data('action');
      return this.handleEvent("" + action + ":click");
    };

    return Toolbar;

  })(IuguUI.Base);

  this.IuguUI.Toolbar = IuguUI.Toolbar;

}).call(this);
;FI"required_assets_digest;F"%49607048c57dfd4cede9a703ab139636I"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
iugu-ux-1.0.16 sandbox/tmp/cache/assets/CE9/590/sprockets%2F2fac3ad680549d302b94197e9d86706c
iugu-ux-1.0.15 sandbox/tmp/cache/assets/CE9/590/sprockets%2F2fac3ad680549d302b94197e9d86706c
iugu-ux-1.0.13 sandbox/tmp/cache/assets/CE9/590/sprockets%2F2fac3ad680549d302b94197e9d86706c
iugu-ux-1.0.12 sandbox/tmp/cache/assets/CE9/590/sprockets%2F2fac3ad680549d302b94197e9d86706c
iugu-ux-1.0.11 sandbox/tmp/cache/assets/CE9/590/sprockets%2F2fac3ad680549d302b94197e9d86706c
iugu-ux-1.0.10 sandbox/tmp/cache/assets/CE9/590/sprockets%2F2fac3ad680549d302b94197e9d86706c
iugu-ux-1.0.9 sandbox/tmp/cache/assets/CE9/590/sprockets%2F2fac3ad680549d302b94197e9d86706c
iugu-ux-1.0.8 sandbox/tmp/cache/assets/CE9/590/sprockets%2F2fac3ad680549d302b94197e9d86706c
iugu-ux-1.0.7 sandbox/tmp/cache/assets/CE9/590/sprockets%2F2fac3ad680549d302b94197e9d86706c