This commit is contained in:
Zach Fox 2017-04-26 16:55:20 -07:00
parent b6601feb1d
commit 0ac660d4ab
2 changed files with 3 additions and 1 deletions

View file

@ -117,7 +117,7 @@ input[type=button].naked:active {
.shareButtons {
display: flex;
align-items: center;
margin-left: 40px;
margin-left: 30px;
height: 100%;
}
.blastToConnections {

View file

@ -36,6 +36,8 @@ var shareAfterLogin = false;
var snapshotToShareAfterLogin;
var METAVERSE_BASE = location.metaverseServerUrl;
// It's totally unnecessary to return to C++ to perform many of these requests, such as DELETEing an old story,
// POSTING a new one, PUTTING a new audience, or GETTING story data. It's far more efficient to do all of that within JS
function request(options, callback) { // cb(error, responseOfCorrectContentType) of url. A subset of npm request.
var httpRequest = new XMLHttpRequest(), key;
// QT bug: apparently doesn't handle onload. Workaround using readyState.