- icon = new Pettanr.Views.Common.RootIcon()\r
- @button = new Tag.A({\r
- attr: {href: '/'}, \r
- content: icon.render().el\r
+ icon = new Pettanr.View.Minicon(Pettanr.View.Image.icon_root_file())\r
+ @button = new Pettanr.View.Button('/', icon.render().el, {\r
+ context: this,\r
+ click: () =>\r
+ @trigger('click')\r