4 listKind: "blerg.TagRecord",
11 {name: "spinner", kind: "OldSchoolSpinner", showing: false},
12 {name: "api", kind: "blerg.API",
13 onItemsLoaded: "itemsLoaded"}
16 locationDetect: function(l) {
17 var m = l.hash.match(/^#\/(ref|tag)\/([A-Za-z0-9_-]+)$/);
28 this.inherited(arguments);
31 tagChanged: function() {
34 this.bubble('onSetTitle', {section: '#' + this.tag});
37 this.bubble('onSetTitle', {section: 'about @' + this.tag});
40 this.$.records.destroyComponents();
41 this.lastRecord = null;
44 loadItems: function(from, to) {
45 this.inherited(arguments);
46 this.$.api.loadTagRecords(this.type, this.tag);
48 itemsLoaded: function(inSender, inEvent) {
49 this.addItems(inEvent.entries);