mirror of
https://github.com/overte-org/overte.git
synced 2025-06-15 19:39:16 +02:00
removed cache defeating code and fixed whitespace
This commit is contained in:
parent
918c61c166
commit
a0e8e00357
3 changed files with 3 additions and 3 deletions
|
@ -371,7 +371,7 @@ function virtualBatonf(options) {
|
||||||
};
|
};
|
||||||
|
|
||||||
// Gather nAcceptors by making two proposals with some gathering time, even without a claim.
|
// Gather nAcceptors by making two proposals with some gathering time, even without a claim.
|
||||||
propose();
|
propose();
|
||||||
return exports;
|
return exports;
|
||||||
}
|
}
|
||||||
if (typeof module !== 'undefined') { // Allow testing in nodejs.
|
if (typeof module !== 'undefined') { // Allow testing in nodejs.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
Script.include("../../libraries/virtualBaton.js?v2" + Math.random());
|
Script.include("../../libraries/virtualBaton.js");
|
||||||
|
|
||||||
var baton;
|
var baton;
|
||||||
var iOwn = false;
|
var iOwn = false;
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
var center = Vec3.sum(MyAvatar.position, Vec3.multiply(3, Quat.getFront(orientation)));
|
var center = Vec3.sum(MyAvatar.position, Vec3.multiply(3, Quat.getFront(orientation)));
|
||||||
|
|
||||||
// Math.random ensures no caching of script
|
// Math.random ensures no caching of script
|
||||||
var SCRIPT_URL = Script.resolvePath("batonSoundTestEntityScript.js?v1" + Math.random())
|
var SCRIPT_URL = Script.resolvePath("batonSoundTestEntityScript.js")
|
||||||
|
|
||||||
var soundEntity = Entities.addEntity({
|
var soundEntity = Entities.addEntity({
|
||||||
type: "Box",
|
type: "Box",
|
||||||
|
|
Loading…
Reference in a new issue