lib/boilerplate.view.js
function extractAttribs( def ) {
    var key, val, attribs = { standard: {}, special: {}, implicit: [] };
    for ( key in def ) {
        val = def[ key ];
        if ( RX_INTEGER.test( key ) ) {
            attribs.implicit.push( val );
        } else if ( RX_STD_ATT.test( key ) ) {
            attribs.standard[ key ] = val;
        } else {
            attribs.special[ key ] = val;
        }
    }
    return attribs;
}
function extractAttribs( def ) {
    var key, val, attribs = { standard: {}, special: {}, implicit: [] };
    for ( key in def ) {
        val = def[ key ];
        if ( RX_INTEGER.test( key ) ) {
            attribs.implicit.push( val );
        } else if ( RX_STD_ATT.test( key ) ) {
            attribs.standard[ key ] = val;
        } else {
            attribs.special[ key ] = val;
        }
    }
    return attribs;
}
function extractAttribs ( def ) { var key , val , attribs = { standard : { } , special : { } , implicit : [ ] } ; for ( key in def ) { val = def [ key ] ; if ( RX_INTEGER . test ( key ) ) { attribs . implicit . push ( val ) ; } else if ( RX_STD_ATT . test ( key ) ) { attribs . standard [ key ] = val ; } else { attribs . special [ key ] = val ; } } return attribs ; }
An attribute is marked as _special_ as soon as it has a dot in its name.
`view.attribs` is special, but `attribs` is not.
Attributes with a numeric key are marked as _implicit_.
@return `{ standard: {...}, special: {...}, implicit: [...] }`.
An attribute is marked as _special_ as soon as it has a dot in its name . view . attribs is special but attribs is not . Attributes with a numeric key are marked as _implicit_ .