Explicitly add implicitly added semicolons.
This commit is contained in:
parent
4d34677623
commit
64095245ee
2
misc/dist/html/full-size.html
vendored
2
misc/dist/html/full-size.html
vendored
@ -201,7 +201,7 @@ $GODOT_HEAD_INCLUDE
|
|||||||
throw new Error('Invalid status mode');
|
throw new Error('Invalid status mode');
|
||||||
}
|
}
|
||||||
statusMode = mode;
|
statusMode = mode;
|
||||||
}
|
};
|
||||||
|
|
||||||
function animateStatusIndeterminate(ms) {
|
function animateStatusIndeterminate(ms) {
|
||||||
|
|
||||||
|
@ -121,7 +121,7 @@ Function('return this')()['Engine'] = (function() {
|
|||||||
if (me.onExit)
|
if (me.onExit)
|
||||||
me.onExit(code);
|
me.onExit(code);
|
||||||
me.rtenv = null;
|
me.rtenv = null;
|
||||||
}
|
};
|
||||||
return new Promise(function(resolve, reject) {
|
return new Promise(function(resolve, reject) {
|
||||||
preloader.preloadedFiles.forEach(function(file) {
|
preloader.preloadedFiles.forEach(function(file) {
|
||||||
me.rtenv['copyToFS'](file.path, file.buffer);
|
me.rtenv['copyToFS'](file.path, file.buffer);
|
||||||
@ -207,18 +207,18 @@ Function('return this')()['Engine'] = (function() {
|
|||||||
if (this.rtenv)
|
if (this.rtenv)
|
||||||
this.rtenv.onExecute = onExecute;
|
this.rtenv.onExecute = onExecute;
|
||||||
this.onExecute = onExecute;
|
this.onExecute = onExecute;
|
||||||
}
|
};
|
||||||
|
|
||||||
Engine.prototype.setOnExit = function(onExit) {
|
Engine.prototype.setOnExit = function(onExit) {
|
||||||
this.onExit = onExit;
|
this.onExit = onExit;
|
||||||
}
|
};
|
||||||
|
|
||||||
Engine.prototype.copyToFS = function(path, buffer) {
|
Engine.prototype.copyToFS = function(path, buffer) {
|
||||||
if (this.rtenv == null) {
|
if (this.rtenv == null) {
|
||||||
throw new Error("Engine must be inited before copying files");
|
throw new Error("Engine must be inited before copying files");
|
||||||
}
|
}
|
||||||
this.rtenv['copyToFS'](path, buffer);
|
this.rtenv['copyToFS'](path, buffer);
|
||||||
}
|
};
|
||||||
|
|
||||||
// Closure compiler exported engine methods.
|
// Closure compiler exported engine methods.
|
||||||
/** @export */
|
/** @export */
|
||||||
|
Loading…
Reference in New Issue
Block a user