lib/level.js
function(blockName) {
        // TODO: support any custom naming scheme, e.g. flat, when there are
        // no directories for blocks
        var decl = this.getDeclByIntrospection(PATH.dirname(this.get('block', [blockName])));
        return decl.length? decl.shift() : {};
    }
function(blockName) {
        // TODO: support any custom naming scheme, e.g. flat, when there are
        // no directories for blocks
        var decl = this.getDeclByIntrospection(PATH.dirname(this.get('block', [blockName])));
        return decl.length? decl.shift() : {};
    }
function ( blockName ) { // TODO: support any custom naming scheme, e.g. flat, when there are // no directories for blocks var decl = this . getDeclByIntrospection ( PATH . dirname ( this . get ( 'block' , [ blockName ] ) ) ) ; return decl . length ? decl . shift ( ) : { } ; }
Get declaration for block.

@param {String} blockName  Block name to get declaration for.
@return {Object}  Block declaration object.
Get declaration for block .