зеркало из https://github.com/mozilla/hubs.git
fixing circle ci errors
This commit is contained in:
Родитель
dddb88295f
Коммит
37237ce19a
|
@ -99,7 +99,7 @@ export async function changeHub(hubId, addToHistory = true) {
|
|||
window.changeHub = changeHub;
|
||||
|
||||
// TODO see if there is a better way to do this with react router
|
||||
window.addEventListener("popstate", function(e) {
|
||||
window.addEventListener("popstate", function() {
|
||||
if (!APP.store.state.preferences.fastRoomSwitching) return;
|
||||
const qs = new URLSearchParams(location.search);
|
||||
const newHubId = qs.get("hub_id") || document.location.pathname.substring(1).split("/")[0];
|
||||
|
|
|
@ -19,7 +19,6 @@ import { detect } from "detect-browser";
|
|||
import semver from "semver";
|
||||
import { createPlaneBufferGeometry } from "../utils/three-utils";
|
||||
import HubsTextureLoader from "../loaders/HubsTextureLoader";
|
||||
import { MediaAudioDefaults } from "../systems/audio-settings-system";
|
||||
import { MixerType } from "../systems/audio-system";
|
||||
|
||||
import qsTruthy from "../utils/qs_truthy";
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import React, { useState } from "react";
|
||||
import PropTypes from "prop-types";
|
||||
import { Spinner } from "../misc/Spinner";
|
||||
import { CenteredModalWrapper } from "../layout/CenteredModalWrapper";
|
||||
import { RevokeTokenModal } from "./RevokeTokenModal";
|
||||
import { revokeToken } from "./token-utils";
|
||||
|
|
|
@ -270,7 +270,7 @@ module.exports = async (env, argv) => {
|
|||
signin: path.join(__dirname, "src", "signin.js"),
|
||||
verify: path.join(__dirname, "src", "verify.js"),
|
||||
tokens: path.join(__dirname, "src", "tokens.js"),
|
||||
"whats-new": path.join(__dirname, "src", "whats-new.js")
|
||||
"whats-new": path.join(__dirname, "src", "whats-new.js"),
|
||||
"webxr-polyfill": path.join(__dirname, "src", "webxr-polyfill.js")
|
||||
},
|
||||
output: {
|
||||
|
|
Загрузка…
Ссылка в новой задаче