{:uriI"Öfile:///Users/saberma/Documents/china_city/app/assets/javascripts/china_city/jquery.china_city.js.coffee?type=application/javascript&pipeline=self&id=8f533be15a525cdae6e8e224db042bbf4932fa3da66050e691f5aaf511f4fff5:ET:load_pathI"?/Users/saberma/Documents/china_city/app/assets/javascripts;T: filenameI"f/Users/saberma/Documents/china_city/app/assets/javascripts/china_city/jquery.china_city.js.coffee;T: nameI"!china_city/jquery.china_city;T:logical_pathI")china_city/jquery.china_city.self.js;T:content_typeI"application/javascript;T: sourceI"€(function() { (function($) { $.fn.china_city = function() { return this.each(function() { var selects; selects = $(this).find('.city-select'); return selects.change(function() { var $this, next_selects; $this = $(this); next_selects = selects.slice(selects.index(this) + 1); $("option:gt(0)", next_selects).remove(); if (next_selects.first()[0] && $this.val() && !$this.val().match(/--.*--/)) { return $.get("/china_city/" + ($(this).val()), function(data) { var i, len, option; if (data.data != null) { data = data.data; } for (i = 0, len = data.length; i < len; i++) { option = data[i]; next_selects.first()[0].options.add(new Option(option[0], option[1])); } return next_selects.trigger('china_city:load_data_completed'); }); } }); }); }; return $(document).on('ready page:load', function() { return $('.city-group').china_city(); }); })(jQuery); }).call(this); ;T: metadata{ :dependencieso:Set: @hash{ I"environment-version;TTI"environment-paths;TTI"jprocessors:type=application/javascript&file_type=application/javascript&engines=.coffee&pipeline=self;TTI"tfile-digest:///Users/saberma/Documents/china_city/app/assets/javascripts/china_city/jquery.china_city.js.coffee;TT: requiredo;;{: stubbedo;;{: linkso;;{: charsetI" utf-8;F: digest"%ˆÕQJÿK±H¤