o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1373285458.699947:@value"3
{I"
class:EFI"ProcessedAsset;�FI"logical_path;�F"0iugu-ux/components/usecode/iugu-ui-radio.jsI"
pathname;�F"}/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-radio.js.coffeeI"content_type;�FI"application/javascript;�FI"
mtime;�FI"2013-07-05T18:24:48-03:00;�FI"length;�Fi�I"digest;�F"%1f9e3946ec4a06817501b963a04628c0I"source;�FI"�(function() {
  IuguUI.Radio = (function() {
    Radio.prototype.defaults = {
      none: false
    };

    Radio.prototype.el = void 0;

    Radio.load = function(context) {
      var elements, selector;

      selector = "[data-type='iux.form.radio']";
      if (context) {
        elements = context.find(selector);
      } else {
        elements = $(selector);
      }
      if (elements.length === 0) {
        return;
      }
      return elements.each(function() {
        if ($(this).data("iux.initialized") === true) {
          return;
        }
        new IuguUI.Radio({
          el: this
        });
        return $(this).data("iux.initialized", true);
      });
    };

    function Radio(options) {
      this.initialize(options);
    }

    Radio.prototype.initialize = function(options) {
      var radio_classes;

      _.bindAll(this);
      this.options = _.extend({}, this.defaults, options);
      if (!this.options.el) {
        return null;
      }
      if (this.options.el) {
        this.el = $(this.options.el);
      }
      radio_classes = "radio";
      this.decorator = $('<a>', {
        "class": radio_classes + (this.el.is(":checked") ? ' selected' : ''),
        html: '<div class="outer_decorator"><div class="inner_decorator"></div></div>',
        "data-mode": "toggle",
        "data-input": this.el.attr("id"),
        "data-group": this.el.attr("name")
      });
      this.decorator.insertAfter(this.el);
      return new IuguUI.Button({
        el: this.decorator,
        context: this.el
      });
    };

    return Radio;

  })();

  this.IuguUI.Radio = IuguUI.Radio;

  $(function() {
    return IuguUI.Radio.load();
  });

}).call(this);
;�TI"dependency_digest;�F"%e4c41ec714e7d422ad1af3d5f8c43a76I"required_paths;�F["}/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-radio.js.coffeeI"dependency_paths;�F[{I"	path;�F"}/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-radio.js.coffeeI"
mtime;�FI"2013-07-05T18:24:48-03:00;�FI"digest;�F"%7311bf414efe8a50141a364718608020I"
_version;�F"%6776f581a4329e299531e1d52aa59832