api-chain.js
function(name, value, immediate) {
        if (immediate) {
            this[name] = value;
        } else this.chain(function() {
            var args = Array.prototype.slice.call(arguments);
            var next = args.pop();
            this[name] = value;
            args.unshift(null);
            next.apply(this, args);
        });
        return this;
    }
function(name, value, immediate) {
        if (immediate) {
            this[name] = value;
        } else this.chain(function() {
            var args = Array.prototype.slice.call(arguments);
            var next = args.pop();
            this[name] = value;
            args.unshift(null);
            next.apply(this, args);
        });
        return this;
    }
function ( name , value , immediate ) { if ( immediate ) { this [ name ] = value ; } else this . chain ( function ( ) { var args = Array . prototype . slice . call ( arguments ) ; var next = args . pop ( ) ; this [ name ] = value ; args . unshift ( null ) ; next . apply ( this , args ) ; } ) ; return this ; }
set instance property
set instance property