var checkme = null; silk.calendar.resource = xb.core.object.extend( silk.postings.resource, { ctor: function( config ) { this.handlers = { "categories": silk.postings.categories.mount, "view": silk.postings.items.mount, "view-page": silk.postings.items.page.mount, "view-page-sections": silk.postings.items.page.mount, "view-calendar-items": silk.calendar.items.mount }; this.selection = {}; silk.resource.prototype.ctor.call( this, config ); }, init: function() { silk.postings.resource.prototype.init.call( this ); }, load: function( data ) { silk.postings.resource.prototype.load.call( this, data ); }, onRefresh: function( mount ) { silk.postings.resource.prototype.onRefresh.call( this, mount ); }, select: function( selection ) { silk.postings.resource.prototype.select.call( this, selection ); if ( this.mounts[ "view-calendar-items" ] instanceof silk.node.mount ) { this.mounts[ "view-calendar-items" ].select( selection ); this.mounts[ "view-calendar-items" ].display(); } } } );