removed cache defeating code and fixed whitespace

This commit is contained in:
ericrius1 2016-03-22 15:02:00 -07:00
parent 918c61c166
commit a0e8e00357
3 changed files with 3 additions and 3 deletions

View file

@ -371,7 +371,7 @@ function virtualBatonf(options) {
};
// Gather nAcceptors by making two proposals with some gathering time, even without a claim.
propose();
propose();
return exports;
}
if (typeof module !== 'undefined') { // Allow testing in nodejs.

View file

@ -1,6 +1,6 @@
(function() {
Script.include("../../libraries/virtualBaton.js?v2" + Math.random());
Script.include("../../libraries/virtualBaton.js");
var baton;
var iOwn = false;

View file

@ -5,7 +5,7 @@
var center = Vec3.sum(MyAvatar.position, Vec3.multiply(3, Quat.getFront(orientation)));
// 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({
type: "Box",