lib/Ext/core/class/Base.js
function(members) {
            var prototype = this.prototype,
                names = [],
                name, member;

            //<debug>
            var className = this.$className || '';
            //</debug>

            for (name in members) {
                if (members.hasOwnProperty(name)) {
                    member = members[name];

                    if (typeof member == 'function' && !member.$isClass && member !== Ext.emptyFn) {
                        member.$owner = this;
                        member.$name = name;
                        //<debug>
                        member.displayName = className + '#' + name;
                        //</debug>
                    }

                    prototype[name] = member;
                }
            }

            return this;
        }
function(members) {
            var prototype = this.prototype,
                names = [],
                name, member;

            //<debug>
            var className = this.$className || '';
            //</debug>

            for (name in members) {
                if (members.hasOwnProperty(name)) {
                    member = members[name];

                    if (typeof member == 'function' && !member.$isClass && member !== Ext.emptyFn) {
                        member.$owner = this;
                        member.$name = name;
                        //<debug>
                        member.displayName = className + '#' + name;
                        //</debug>
                    }

                    prototype[name] = member;
                }
            }

            return this;
        }
function ( members ) { var prototype = this . prototype , names = [ ] , name , member ; //<debug> var className = this . $className || '' ; //</debug> for ( name in members ) { if ( members . hasOwnProperty ( name ) ) { member = members [ name ] ; if ( typeof member == 'function' && ! member . $isClass && member !== Ext . emptyFn ) { member . $owner = this ; member . $name = name ; //<debug> member . displayName = className + '#' + name ; //</debug> } prototype [ name ] = member ; } } return this ; }
Add methods / properties to the prototype of this class.

@example
Ext.define('My.awesome.Cat', {
constructor: function() {
// ...
}
});

My.awesome.Cat.addMembers({
meow: function() {
alert('Meowww...');
}
});

var kitty = new My.awesome.Cat();
kitty.meow();

@param {Object} members
@static
@inheritable
Add methods / properties to the prototype of this class .