4 listKind: "blerg.TagRecord",
11 {name: "api", kind: "blerg.API",
12 onItemsLoaded: "itemsLoaded"}
15 locationDetect: function(l) {
16 var m = l.hash.match(/^#\/(ref|tag)\/([A-Za-z0-9_-]+)$/);
27 this.inherited(arguments);
30 tagChanged: function() {
33 this.bubble('onSetTitle', {section: '#' + this.tag});
36 this.bubble('onSetTitle', {section: 'about @' + this.tag});
39 this.$.records.destroyComponents();
40 this.lastRecord = null;
43 loadItems: function(from, to) {
44 this.inherited(arguments);
45 this.$.api.loadTagRecords(this.type, this.tag);
47 itemsLoaded: function(inSender, inEvent) {
48 this.addItems(inEvent.entries);