cleanup pass

This commit is contained in:
humbletim 2017-06-19 16:58:06 -04:00
parent e25b567ff1
commit 46e9ada424
5 changed files with 6 additions and 27 deletions

View file

@ -10,10 +10,6 @@
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // 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 require = Script.require;
var DopplegangerClass = require('./doppleganger.js'), var DopplegangerClass = require('./doppleganger.js'),

View file

@ -1,15 +1,11 @@
/* eslint-env commonjs */
/* eslint-disable comma-dangle, no-empty */
"use strict"; "use strict";
/* eslint-env commonjs */
/* eslint-disable comma-dangle */
module.exports = DopplegangerAttachments; module.exports = DopplegangerAttachments;
DopplegangerAttachments.version = '0.0.0'; 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'), var _modelHelper = require('./model-helper.js'),
modelHelper = _modelHelper.modelHelper, modelHelper = _modelHelper.modelHelper,
ModelReadyWatcher = _modelHelper.ModelReadyWatcher, ModelReadyWatcher = _modelHelper.ModelReadyWatcher,

View file

@ -9,7 +9,7 @@
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
/* global module */ /* eslint-env commonjs */
// @module doppleganger // @module doppleganger
// //
// This module contains the `Doppleganger` class implementation for creating an inspectable replica of // This module contains the `Doppleganger` class implementation for creating an inspectable replica of
@ -24,10 +24,6 @@
module.exports = Doppleganger; module.exports = Doppleganger;
/*var require = function DEBUG_REQUIRE(id) {
return Script.require(id + '?'+new Date().getTime().toString(36));
};*/
var _modelHelper = require('./model-helper.js'), var _modelHelper = require('./model-helper.js'),
modelHelper = _modelHelper.modelHelper, modelHelper = _modelHelper.modelHelper,
ModelReadyWatcher = _modelHelper.ModelReadyWatcher; ModelReadyWatcher = _modelHelper.ModelReadyWatcher;

View file

@ -7,21 +7,13 @@
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
/* global module */ /* eslint-env commonjs */
// @module model-helper // @module model-helper
// //
// This module provides ModelReadyWatcher (a helper class for knowing when a model becomes usable inworld) and // 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 // also initial plumbing helpers to eliminate unnecessary API differences when working with Model Overlays and
// Model Entities at a high-level from scripting. // 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'), var utils = require('./utils.js'),
assert = utils.assert; assert = utils.assert;

View file

@ -1,11 +1,10 @@
/* eslint-env commonjs */ /* eslint-env commonjs */
/* eslint-disable comma-dangle, no-empty */
module.exports = { module.exports = {
bind: bind, bind: bind,
signal: signal, signal: signal,
assign: assign, assign: assign,
assert: assert, assert: assert
}; };
// @function - bind a function to a `this` context // @function - bind a function to a `this` context