windows/lib/WinPlatform.js
function WinPlatform(PlatformBase, baseData) {

    // Create base instance.
    var instance = new PlatformBase(baseData);

    // Override manually, because Object.extend() is not yet available on node.
    var names = Object.getOwnPropertyNames(WinPlatform.prototype);
    for (var i = 0; i < names.length; i++) {
        var key = names[i];
        if (key != "constructor") {
            instance[key] = WinPlatform.prototype[key];
        }
    }

    return instance;
}
function WinPlatform(PlatformBase, baseData) {

    // Create base instance.
    var instance = new PlatformBase(baseData);

    // Override manually, because Object.extend() is not yet available on node.
    var names = Object.getOwnPropertyNames(WinPlatform.prototype);
    for (var i = 0; i < names.length; i++) {
        var key = names[i];
        if (key != "constructor") {
            instance[key] = WinPlatform.prototype[key];
        }
    }

    return instance;
}
function WinPlatform ( PlatformBase , baseData ) { // Create base instance. var instance = new PlatformBase ( baseData ) ; // Override manually, because Object.extend() is not yet available on node. var names = Object . getOwnPropertyNames ( WinPlatform . prototype ) ; for ( var i = 0 ; i < names . length ; i ++ ) { var key = names [ i ] ; if ( key != "constructor" ) { instance [ key ] = WinPlatform . prototype [ key ] ; } } return instance ; }
Interface for project implementations.
@constructor
@param {Function} PlatformBase Base class constructor {@link PlatformBase}
@param {PlatformData} platformData Init data passed to the platform
@protected
Interface for project implementations .