{:uriI"Ëfile:///vagrant_data/china_city/app/assets/javascripts/china_city/jquery.china_city.js.coffee?type=application/javascript&pipeline=self&id=09f47a41ac28a6c40051dc2256c8da1b693d345508d168d7b58c453e8792142e:ET:load_pathI"4/vagrant_data/china_city/app/assets/javascripts;T: filenameI"[/vagrant_data/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"2(function() { (function($) { $.fn.china_city = function() { return this.each(function() { var selects; selects = $(this).find('.city-select'); return selects.change(function() { var $this, customfunc, next_selects; $this = $(this); next_selects = selects.slice(selects.index(this) + 1); customfunc = $this.data("customfunc") ? $this.data("customfunc") : false; $("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])); } if (customfunc) { eval(customfunc); } 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"rails-env;TTI"jprocessors:type=application/javascript&file_type=application/javascript&engines=.coffee&pipeline=self;TTI"ifile-digest:///vagrant_data/china_city/app/assets/javascripts/china_city/jquery.china_city.js.coffee;TT: requiredo;;{: stubbedo;;{: linkso;;{: charsetI" utf-8;F: digest"%Ýi€ Þg;]Š­¹([ o$PÇC‹hE²uV!ª„3Œ: lengthi2:dependencies_digest"%±Âs–ÃS‡’ù-7Ì[‹/gø\ò5¬ ü<üƒE:idI"E09f47a41ac28a6c40051dc2256c8da1b693d345508d168d7b58c453e8792142e;F: mtimel+Jß2W