src/console/socket.io.js
function(typeData)
    {
        var newType = new ASProxy(this, typeData.name);
        var accessors = typeData.accessors;
        for (var i = 0; i < accessors.length; i++)
        {
            this.addPropertyToType(newType, accessors[i]);
        }

        var methods = typeData.methods;
        for (var i = 0; i < methods.length; i++)
        {
            if (FABridge.blockedMethods[methods[i]] == undefined)
            {
                this.addMethodToType(newType, methods[i]);
            }
        }


        this.remoteTypeCache[newType.typeName] = newType;
        return newType;
    }
function(typeData)
    {
        var newType = new ASProxy(this, typeData.name);
        var accessors = typeData.accessors;
        for (var i = 0; i < accessors.length; i++)
        {
            this.addPropertyToType(newType, accessors[i]);
        }

        var methods = typeData.methods;
        for (var i = 0; i < methods.length; i++)
        {
            if (FABridge.blockedMethods[methods[i]] == undefined)
            {
                this.addMethodToType(newType, methods[i]);
            }
        }


        this.remoteTypeCache[newType.typeName] = newType;
        return newType;
    }
function ( typeData ) { var newType = new ASProxy ( this , typeData . name ) ; var accessors = typeData . accessors ; for ( var i = 0 ; i < accessors . length ; i ++ ) { this . addPropertyToType ( newType , accessors [ i ] ) ; } var methods = typeData . methods ; for ( var i = 0 ; i < methods . length ; i ++ ) { if ( FABridge . blockedMethods [ methods [ i ] ] == undefined ) { this . addMethodToType ( newType , methods [ i ] ) ; } } this . remoteTypeCache [ newType . typeName ] = newType ; return newType ; }
accepts a type structure, returns a constructed type
accepts a type structure returns a constructed type