mirror of
https://github.com/samsonjs/Mojo.Ext.git
synced 2026-04-27 15:07:46 +00:00
axed some extra code that snuck into scene-assistant-base.js.
This commit is contained in:
parent
157503c13c
commit
5eb3b5d88b
1 changed files with 0 additions and 17 deletions
|
|
@ -90,20 +90,3 @@ Mojo.Ext.SceneAssistantBase = Class.create({
|
||||||
return this[name];
|
return this[name];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
//
|
|
||||||
this.listModel = {listTitle:'Topic News', items:this.stories};
|
|
||||||
|
|
||||||
var listAttributes = {
|
|
||||||
itemTemplate: 'feed/listitem',
|
|
||||||
emptyTemplate: 'feed/emptylist',
|
|
||||||
dividerFunction: this.getDivider.bind(this),
|
|
||||||
dividerTemplate: 'feed/divider'
|
|
||||||
};
|
|
||||||
|
|
||||||
// Set up the attributes & model for the List widget:
|
|
||||||
this.controller.setupWidget('storyList', listAttributes, this.listModel);
|
|
||||||
this.storyList = this.controller.get('storyList');
|
|
||||||
|
|
||||||
this.listClickHandler = this.listClickHandler.bind(this);
|
|
||||||
Mojo.Event.listen(this.storyList, Mojo.Event.listTap, this.listClickHandler);
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue