tweaks for coding standards

This commit is contained in:
ericrius1 2016-01-21 13:24:07 -08:00
parent b3b1793035
commit e11e4d196b
2 changed files with 8 additions and 15 deletions

View file

@ -12,8 +12,8 @@
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
var importURL = "https://s3-us-west-1.amazonaws.com/hifi-content/eric/arfs/junkyard.json";
var IMPORT_URL = "https://s3-us-west-1.amazonaws.com/hifi-content/eric/arfs/junkyard.json";
var PASTE_ENTITIES_LOCATION = {x: 0, y: 0, z: 0};
reset();
function reset() {
@ -26,10 +26,6 @@ function reset() {
}
function importArf() {
Clipboard.importEntities(importURL);
Clipboard.pasteEntities({
x: 0,
y: 0,
z: 0
});
Clipboard.importEntities(IMPORT_URL);
Clipboard.pasteEntities(PASTE_ENTITIES_LOCATION);
}

View file

@ -12,7 +12,8 @@
(function() {
Script.include("../libraries/utils.js");
var _this;
var importURL = "https://s3-us-west-1.amazonaws.com/hifi-content/eric/arfs/junkyard.json";
var IMPORT_URL = "https://s3-us-west-1.amazonaws.com/hifi-content/eric/arfs/junkyard.json";
var PASTE_ENTITIES_LOCATION = {x: 0, y: 0, z: 0};
var JunkyardResetter = function() {
_this = this;
};
@ -40,12 +41,8 @@
},
importArf: function() {
Clipboard.importEntities(importURL);
Clipboard.pasteEntities({
x: 0,
y: 0,
z: 0
});
Clipboard.importEntities(IMPORT_URL);
Clipboard.pasteEntities(PASTE_ENTITIES_LOCATION);
},
preload: function(entityID) {