o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1373285457.589961: @value"ô{I" class:EFI"ProcessedAsset;FI"logical_path;F"3iugu-ux/components/usecode/iugu-ui-combobox.jsI" pathname;F"{/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-combobox.js.coffeeI"content_type;FI"application/javascript;FI" mtime;FI"2013-07-05T18:24:48-03:00;FI" length;FiMI" digest;F"%c48bbab931ce5d0520d58bd634308de7I" source;FI"M(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 }); ul_element = $('