(function() { var $, __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; $ = jQuery; $.fn.challonge = function(tournamentUrl, options) { var Challonge; Challonge = (function() { function Challonge($this, tournamentUrl, options) { this._$iframe = __bind(this._$iframe, this); this._sourceWithOptions = __bind(this._sourceWithOptions, this); this.tournamentUrl = tournamentUrl || ''; this.options = $.extend({}, $.fn.challonge.defaults, options || {}); this.subdomain = this.options.subdomain; this.height = $this.height(); $this.html(this._$iframe); } Challonge.prototype._sourceWithOptions = function() { var subdomain; subdomain = this.subdomain ? "" + this.subdomain + "." : ''; return "//" + subdomain + "challonge.com/" + this.tournamentUrl + "/module?" + ($.param(this.options)); }; Challonge.prototype._$iframe = function() { return $("