mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-07 10:02:24 +02:00
cleanup pass
This commit is contained in:
parent
e25b567ff1
commit
46e9ada424
5 changed files with 6 additions and 27 deletions
|
@ -10,10 +10,6 @@
|
|||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
//
|
||||
|
||||
/*var require = function DEBUG_REQUIRE(id) {
|
||||
return Script.require(id + '?'+new Date().getTime().toString(36));
|
||||
};*/
|
||||
|
||||
var require = Script.require;
|
||||
|
||||
var DopplegangerClass = require('./doppleganger.js'),
|
||||
|
|
|
@ -1,15 +1,11 @@
|
|||
/* eslint-env commonjs */
|
||||
/* eslint-disable comma-dangle, no-empty */
|
||||
|
||||
"use strict";
|
||||
/* eslint-env commonjs */
|
||||
/* eslint-disable comma-dangle */
|
||||
|
||||
module.exports = DopplegangerAttachments;
|
||||
|
||||
DopplegangerAttachments.version = '0.0.0';
|
||||
|
||||
/*var require = function DEBUG_REQUIRE(id) {
|
||||
return Script.require(id + '?'+new Date().getTime().toString(36));
|
||||
};*/
|
||||
|
||||
var _modelHelper = require('./model-helper.js'),
|
||||
modelHelper = _modelHelper.modelHelper,
|
||||
ModelReadyWatcher = _modelHelper.ModelReadyWatcher,
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
//
|
||||
|
||||
/* global module */
|
||||
/* eslint-env commonjs */
|
||||
// @module doppleganger
|
||||
//
|
||||
// This module contains the `Doppleganger` class implementation for creating an inspectable replica of
|
||||
|
@ -24,10 +24,6 @@
|
|||
|
||||
module.exports = Doppleganger;
|
||||
|
||||
/*var require = function DEBUG_REQUIRE(id) {
|
||||
return Script.require(id + '?'+new Date().getTime().toString(36));
|
||||
};*/
|
||||
|
||||
var _modelHelper = require('./model-helper.js'),
|
||||
modelHelper = _modelHelper.modelHelper,
|
||||
ModelReadyWatcher = _modelHelper.ModelReadyWatcher;
|
||||
|
|
|
@ -7,21 +7,13 @@
|
|||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
//
|
||||
|
||||
/* global module */
|
||||
/* eslint-env commonjs */
|
||||
// @module model-helper
|
||||
//
|
||||
// This module provides ModelReadyWatcher (a helper class for knowing when a model becomes usable inworld) and
|
||||
// also initial plumbing helpers to eliminate unnecessary API differences when working with Model Overlays and
|
||||
// Model Entities at a high-level from scripting.
|
||||
|
||||
function log() {
|
||||
print('model-helper | ' + [].slice.call(arguments).join(' '));
|
||||
}
|
||||
|
||||
/*var require = function DEBUG_REQUIRE(id) {
|
||||
return Script.require(id + '?'+new Date().getTime().toString(36));
|
||||
};*/
|
||||
|
||||
var utils = require('./utils.js'),
|
||||
assert = utils.assert;
|
||||
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
/* eslint-env commonjs */
|
||||
/* eslint-disable comma-dangle, no-empty */
|
||||
|
||||
module.exports = {
|
||||
bind: bind,
|
||||
signal: signal,
|
||||
assign: assign,
|
||||
assert: assert,
|
||||
assert: assert
|
||||
};
|
||||
|
||||
// @function - bind a function to a `this` context
|
||||
|
|
Loading…
Reference in a new issue