dist/joint.nowrap.js
function(attrs, value, opt) {

        var args = Array.from(arguments);
        if (args.length === 0) {
            return this.get('attrs');
        }

        if (Array.isArray(attrs)) {
            args[0] = ['attrs'].concat(attrs);
        } else if (joint.util.isString(attrs)) {
            // Get/set an attribute by a special path syntax that delimits
            // nested objects by the colon character.
            args[0] = 'attrs/' + attrs;

        } else {

            args[0] = { 'attrs' : attrs };
        }

        return this.prop.apply(this, args);
    }
function(attrs, value, opt) {

        var args = Array.from(arguments);
        if (args.length === 0) {
            return this.get('attrs');
        }

        if (Array.isArray(attrs)) {
            args[0] = ['attrs'].concat(attrs);
        } else if (joint.util.isString(attrs)) {
            // Get/set an attribute by a special path syntax that delimits
            // nested objects by the colon character.
            args[0] = 'attrs/' + attrs;

        } else {

            args[0] = { 'attrs' : attrs };
        }

        return this.prop.apply(this, args);
    }
function ( attrs , value , opt ) { var args = Array . from ( arguments ) ; if ( args . length === 0 ) { return this . get ( 'attrs' ) ; } if ( Array . isArray ( attrs ) ) { args [ 0 ] = [ 'attrs' ] . concat ( attrs ) ; } else if ( joint . util . isString ( attrs ) ) { // Get/set an attribute by a special path syntax that delimits // nested objects by the colon character. args [ 0 ] = 'attrs/' + attrs ; } else { args [ 0 ] = { 'attrs' : attrs } ; } return this . prop . apply ( this , args ) ; }
A convenient way to set nested attributes.
A convenient way to set nested attributes .