(function(c,b,e){portalGGA.views.InstantGameBanner=Backbone.View.extend({constructor:function a(f){Backbone.View.apply(this,arguments); this.instantGameID=f.instantGameID; this.imagesBasePath=f.imagesBasePath; this.instantGames=f.instantGame||new c(); this.instantGames.set("gameId",this.instantGameID); this.gameNameLabel=f.gameNameLabel; this.topPrizeLabel=f.topPrizeLabel; this.ticketPrizeLabel=f.ticketPrizeLabel; this.instantGames.fetch().then(b.bind(this._displayInstantGame,this)) },_displayInstantGame:function d(){console.info("_displayInstantGame",this); var g=this; var f=g.instantGames; $("#instantGameBanner").html(instantGameBannerTemplate({instantGame:f.toJSON(),gameNameLabel:g.gameNameLabel,topPrizeLabel:g.topPrizeLabel,ticketPrizeLabel:g.ticketPrizeLabel})); window.picturefill(); return this.$el }}) }(portalGGA.models.InstantGame,_,portalGGA.utils.session));