function Controller(){require("alloy/controllers/BaseController").apply(this,Array.prototype.slice.call(arguments)),this.__controllerPath="blogDetailItem",arguments[0]?arguments[0].__parentSymbol:null,arguments[0]?arguments[0].$model:null,arguments[0]?arguments[0].__itemTemplate:null;var e=this,t={};e.__views.blogDetailItem=Ti.UI.createView({layout:"vertical",height:Ti.UI.SIZE,backgroundColor:Alloy.CFG.colors.white,id:"blogDetailItem"}),e.__views.blogDetailItem&&e.addTopLevelView(e.__views.blogDetailItem),e.__views.title=Ti.UI.createLabel({font:{fontSize:16,fontFamily:Alloy.CFG.fonts.bold},backgroundGradient:Alloy.CFG.gradients.lightGrey,width:Ti.UI.FILL,height:28,top:1,id:"title"}),e.__views.blogDetailItem.add(e.__views.title),e.__views.image=Ti.UI.createImageView({top:5,left:5,right:5,id:"image"}),e.__views.blogDetailItem.add(e.__views.image),e.__views.post=Ti.UI.createLabel({font:{fontSize:13,fontFamily:Alloy.CFG.fonts.default},top:8,right:8,left:8,id:"post"}),e.__views.blogDetailItem.add(e.__views.post),t.destroy=function(){},_.extend(e,e.__views),require("helpers");var l=arguments[0]||{};e.title.text="  "+l.title,e.post.html=l.post+"\n\n",null!==l.image?e.image.image=l.image:(e.blogDetailItem.remove(e.image),e.image.destroy&&e.image.destroy()),_.extend(e,t)}var Alloy=require("alloy"),Backbone=Alloy.Backbone,_=Alloy._;module.exports=Controller;