function Controller(){require("alloy/controllers/BaseController").apply(this,Array.prototype.slice.call(arguments)),this.__controllerPath="teamSquadPositionItem",arguments[0]?arguments[0].__parentSymbol:null,arguments[0]?arguments[0].$model:null,arguments[0]?arguments[0].__itemTemplate:null;var e=this,t={};e.__views.teamSquadPositionItem=Ti.UI.createView({width:100,height:Ti.UI.SIZE,left:5,top:5,borderColor:Alloy.CFG.colors.medGrey,borderWidth:1,id:"teamSquadPositionItem"}),e.__views.teamSquadPositionItem&&e.addTopLevelView(e.__views.teamSquadPositionItem),e.__views.image=Ti.UI.createImageView({width:90,top:5,touchEnabled:!1,id:"image"}),e.__views.teamSquadPositionItem.add(e.__views.image),e.__views.name=Ti.UI.createLabel({font:{fontSize:13,fontFamily:Alloy.CFG.fonts.bold},width:Ti.UI.FILL,height:Ti.UI.SIZE,left:5,top:100,right:5,bottom:5,textAlign:"center",ellipsize:!1,touchEnabled:!1,id:"name"}),e.__views.teamSquadPositionItem.add(e.__views.name),t.destroy=function(){},_.extend(e,e.__views),require("helpers");var i=arguments[0]||{};e.image.image=i.image,e.name.text=i.firstname+"\n"+i.lastname,e.teamSquadPositionItem.player=i,_.extend(e,t)}var Alloy=require("alloy"),Backbone=Alloy.Backbone,_=Alloy._;module.exports=Controller;