src/util/Download01Org.js
function Download01Org(application, platform, channel) {

    this._application = application;

    if (Download01Org.PLATFORMS.indexOf(platform) == -1) {
        throw new Error("Unknown platform " + platform);
    }
    this._platform = platform;

    if (Download01Org.CHANNELS.indexOf(channel) == -1) {
        throw new Error("Unknown channel " + channel);
    }
    this._channel = channel;

    this._flavor = "crosswalk";

    this._androidWordSize = "32";
}
function Download01Org(application, platform, channel) {

    this._application = application;

    if (Download01Org.PLATFORMS.indexOf(platform) == -1) {
        throw new Error("Unknown platform " + platform);
    }
    this._platform = platform;

    if (Download01Org.CHANNELS.indexOf(channel) == -1) {
        throw new Error("Unknown channel " + channel);
    }
    this._channel = channel;

    this._flavor = "crosswalk";

    this._androidWordSize = "32";
}
function Download01Org ( application , platform , channel ) { this . _application = application ; if ( Download01Org . PLATFORMS . indexOf ( platform ) == - 1 ) { throw new Error ( "Unknown platform " + platform ) ; } this . _platform = platform ; if ( Download01Org . CHANNELS . indexOf ( channel ) == - 1 ) { throw new Error ( "Unknown channel " + channel ) ; } this . _channel = channel ; this . _flavor = "crosswalk" ; this . _androidWordSize = "32" ; }
Crosswalk release lookup and download.
@constructor
@param {Application} application application instance
@param {String} platform Crosswalk release platform android/windows
@param {String} channel Crosswalk channel beta/canary/stable
@throws {Error} If no valid channel was specified.
Crosswalk release lookup and download .