mirror of
https://github.com/lubosz/overte.git
synced 2025-08-08 03:48:38 +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
|
// 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'),
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue