function extend(a,b) {
    for ( var i in b ) {
        var g = b.__lookupGetter__(i), s = b.__lookupSetter__(i);

        if ( g || s ) {
            if ( g )
                a.__defineGetter__(i, g);
            if ( s )
                a.__defineSetter__(i, s);
         } else
             a[i] = b[i];
    }
    return a;
}
// Helper method for extending one object with another
Helper method for extending one object with another
Helper method for extending one object with another
function extend(a,b) {
    for ( var i in b ) {
        var g = b.__lookupGetter__(i), s = b.__lookupSetter__(i);
        if ( g || s ) {
            if ( g )
                a.__defineGetter__(i, g);
            if ( s )
                a.__defineSetter__(i, s);
         } else
             a[i] = b[i];
    }
    return a;
}
function extend ( a , b ) { for ( var i in b ) { var g = b . __lookupGetter__ ( i ) , s = b . __lookupSetter__ ( i ) ; if ( g || s ) { if ( g ) a . __defineGetter__ ( i , g ) ; if ( s ) a . __defineSetter__ ( i , s ) ; } else a [ i ] = b [ i ] ; } return a ; }
Helper method for extending one object with another
Helper method for extending one object with another