o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1383740409.6043122: @value"‡{I" class:EFI"BundledAsset;FI"logical_path;FI"3iugu-ux/components/usecode/iugu-ui-combobox.js;TI" pathname;FI"u/Users/alezonez/Projetos/iugu-ux/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-combobox.js.coffee;TI"content_type;FI"application/javascript;FI" mtime;FI"2013-07-11T10:14:54-03:00;FI" length;FisI" digest;F"%9e543835b4271572e7ee3c109e816d1fI" source;FI"s(function() { IuguUI.Combobox = (function() { Combobox.prototype.defaults = { none: false, displayCurrentSelection: false, markSelected: false }; Combobox.prototype.el = void 0; Combobox.load = function(context) { var elements, selector; selector = "[data-type='iux.form.combobox']"; 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.Combobox({ el: this }); return $(this).data("iux.initialized", true); }); }; function Combobox(options) { this.initialize(options); } Combobox.prototype.prepare_select = function() { var ul_element; if (IS_DESKTOP) { this.input_holder = this.el; this.input_holder.on("change", this.change_select); this.caller_element = $('', { html: this.input_holder.find("option:selected").text(), "data-value": this.input_holder.find("option:selected").val() }); this.root_element = $('
', { "data-display-selection": true, "data-mark-selected": true, "class": this.el.attr("class") }); ul_element = $('