sandbox/tmp/cache/assets/CC3/930/sprockets%2F7e2c9302e5050f66e888725be83f862d in iugu-ux-1.0.2 vs sandbox/tmp/cache/assets/CC3/930/sprockets%2F7e2c9302e5050f66e888725be83f862d in iugu-ux-1.0.3

- old
+ new

@@ -1,8 +1,8 @@ -o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1373285457.589961: @value"ô{I" +o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1374498083.940048: @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() { +mtime;FI"2013-07-08T09:36:24-03:00;FI" length;FisI" digest;F"%9e543835b4271572e7ee3c109e816d1fI" source;FI"s(function() { IuguUI.Combobox = (function() { Combobox.prototype.defaults = { none: false, displayCurrentSelection: false, markSelected: false @@ -10,11 +10,10 @@ 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); @@ -37,26 +36,25 @@ 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 = $('<a>', { html: this.input_holder.find("option:selected").text(), "data-value": this.input_holder.find("option:selected").val() }); this.root_element = $('<div>', { "data-display-selection": true, - "data-mark-selected": true + "data-mark-selected": true, + "class": this.el.attr("class") }); ul_element = $('<ul>'); this.input_holder.find("option").each(function() { var item_element; - item_element = $('<a>', { "data-value": $(this).val(), html: $(this).text() }); return ul_element.append(item_element); @@ -105,11 +103,10 @@ return this.el; }; Combobox.prototype.configure_combobox_events = function() { var that; - this.menu_element = this.el.find("ul"); if (!this.menu_element) { return; } this.caller_element = this.el.find("> a"); @@ -165,7 +162,7 @@ $(function() { return IuguUI.Combobox.load(); }); }).call(this); -;TI"dependency_digest;F"%7a8a8ade2108af6572495625e4488656I"required_paths;F["{/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-combobox.js.coffeeI"dependency_paths;F[{I" path;F"{/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-combobox.js.coffeeI" -mtime;FI"2013-07-05T18:24:48-03:00;FI" digest;F"%56d580cf0dc4f43669eadd8739b9cf9aI" _version;F"%6776f581a4329e299531e1d52aa59832 +;TI"dependency_digest;F"%9220bf44aaf61b1a37e84ed6f48b7e02I"required_paths;F["{/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-combobox.js.coffeeI"dependency_paths;F[{I" path;F"{/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-combobox.js.coffeeI" +mtime;FI"2013-07-08T09:36:24-03:00;FI" digest;F"%8108825ff20da83ef8551ea69863edb0I" _version;F"%6776f581a4329e299531e1d52aa59832 \ No newline at end of file