// Generated by CoffeeScript 1.10.0 (function() { var WeatherPanel, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; window.WeatherPanel = observer(WeatherPanel = (function(superClass) { extend(WeatherPanel, superClass); function WeatherPanel(conf) { WeatherPanel.__super__.constructor.call(this, conf); this.init(); this.query = conf.query; this.weather = new Weather; this.listen_to(this.query, 'change', (function(_this) { return function() { return _this.weather.query(_this.query.get_airport().icao, _this.query.get_year()); }; })(this)); new QueryView({ query: this.query, parent: this }); new WeatherWheel({ weather: this.weather, parent: this }); } return WeatherPanel; })(View)); }).call(this);