32 lines
No EOL
1,000 B
JavaScript
32 lines
No EOL
1,000 B
JavaScript
//
|
|
// trivia.js
|
|
//
|
|
// Created by Rebecca Stankus on 06/11/18
|
|
// Copyright 2018 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
|
|
(function() {
|
|
|
|
var SIGNUP_APP_SETTING = 'io.highfidelity.signup.app.url';
|
|
|
|
var AppUi = Script.require('appUi');
|
|
var SIGNUP_BUTTON_NAME = "SIGNUP";
|
|
var DEFAULT_SIGNUP_URL = "https://www.eventbrite.com/e/high-fidelity-load-test-saturday-oct-6-1100am-pdt-tickets-50014437529?aff=erelexpmlt";
|
|
|
|
var url = Settings.getValue(SIGNUP_APP_SETTING, DEFAULT_SIGNUP_URL);
|
|
|
|
function startup() {
|
|
ui = new AppUi({
|
|
graphicsDirectory: Script.resolvePath("./icons/tablet-icons/"),
|
|
buttonName: SIGNUP_BUTTON_NAME,
|
|
home: url
|
|
// onOpened: function () {
|
|
// tablet.gotoWebScreen(url);
|
|
// }
|
|
});
|
|
}
|
|
startup();
|
|
|
|
}()); |