Sha256: ce71765ea0ee8ed869510f4333d2e702ad703aa3ec805312ecc242f2d2bf0089
Contents?: true
Size: 1.96 KB
Versions: 9
Compression:
Stored size: 1.96 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1383740409.73826:@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