diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-11-17 08:59:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-17 08:59:50 +0100 |
commit | 99d0df2e33af09655d92bed0d619b6a8f93183ae (patch) | |
tree | 0bdd376f362e316eea9ff8e46879181da3ead3a4 /platform/javascript/native | |
parent | 93103693180c37afc349c2f410b3abb2ae62a549 (diff) | |
parent | 02161aad5aa1355e977ea7df225aef53dab2f5bb (diff) |
Merge pull request #38812 from aaronfranke/brace-no-empty-line
Remove all empty lines from the start of blocks defined with braces
Diffstat (limited to 'platform/javascript/native')
7 files changed, 0 insertions, 12 deletions
diff --git a/platform/javascript/native/audio.worklet.js b/platform/javascript/native/audio.worklet.js index ad7957e45c..320af6189c 100644 --- a/platform/javascript/native/audio.worklet.js +++ b/platform/javascript/native/audio.worklet.js @@ -28,7 +28,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ class RingBuffer { - constructor(p_buffer, p_state) { this.buffer = p_buffer; this.avail = p_state; diff --git a/platform/javascript/native/http_request.js b/platform/javascript/native/http_request.js index f621689f9d..272154aee3 100644 --- a/platform/javascript/native/http_request.js +++ b/platform/javascript/native/http_request.js @@ -28,9 +28,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ var GodotHTTPRequest = { - $GodotHTTPRequest: { - requests: [], getUnusedRequestId: function() { diff --git a/platform/javascript/native/library_godot_audio.js b/platform/javascript/native/library_godot_audio.js index 846359b8b2..3a0c8f297a 100644 --- a/platform/javascript/native/library_godot_audio.js +++ b/platform/javascript/native/library_godot_audio.js @@ -29,7 +29,6 @@ /*************************************************************************/ const GodotAudio = { - $GodotAudio__deps: ['$GodotOS'], $GodotAudio: { ctx: null, @@ -182,7 +181,6 @@ mergeInto(LibraryManager.library, GodotAudio); * The AudioWorklet API driver, used when threads are available. */ const GodotAudioWorklet = { - $GodotAudioWorklet__deps: ['$GodotAudio'], $GodotAudioWorklet: { promise: null, @@ -269,7 +267,6 @@ mergeInto(LibraryManager.library, GodotAudioWorklet); * The deprecated ScriptProcessorNode API, used when threads are disabled. */ const GodotAudioScript = { - $GodotAudioScript__deps: ['$GodotAudio'], $GodotAudioScript: { script: null, diff --git a/platform/javascript/native/library_godot_display.js b/platform/javascript/native/library_godot_display.js index 490b9181d0..11bbfbc60d 100644 --- a/platform/javascript/native/library_godot_display.js +++ b/platform/javascript/native/library_godot_display.js @@ -78,7 +78,6 @@ mergeInto(LibraryManager.library, GodotDisplayListeners); * deferred callbacks won't be able to access the files. */ const GodotDisplayDragDrop = { - $GodotDisplayDragDrop__deps: ['$FS', '$GodotFS'], $GodotDisplayDragDrop: { promises: [], diff --git a/platform/javascript/native/library_godot_editor_tools.js b/platform/javascript/native/library_godot_editor_tools.js index bd62bbf4e1..202a198adb 100644 --- a/platform/javascript/native/library_godot_editor_tools.js +++ b/platform/javascript/native/library_godot_editor_tools.js @@ -29,7 +29,6 @@ /*************************************************************************/ const GodotEditorTools = { - godot_js_editor_download_file__deps: ['$FS'], godot_js_editor_download_file: function(p_path, p_name, p_mime) { const path = UTF8ToString(p_path); diff --git a/platform/javascript/native/library_godot_eval.js b/platform/javascript/native/library_godot_eval.js index e83c61dd9d..44d356a4fb 100644 --- a/platform/javascript/native/library_godot_eval.js +++ b/platform/javascript/native/library_godot_eval.js @@ -29,7 +29,6 @@ /*************************************************************************/ const GodotEval = { - godot_js_eval__deps: ['$GodotOS'], godot_js_eval: function(p_js, p_use_global_ctx, p_union_ptr, p_byte_arr, p_byte_arr_write, p_callback) { const js_code = UTF8ToString(p_js); @@ -47,7 +46,6 @@ const GodotEval = { } switch (typeof eval_ret) { - case 'boolean': setValue(p_union_ptr, eval_ret, 'i32'); return 1; // BOOL diff --git a/platform/javascript/native/library_godot_os.js b/platform/javascript/native/library_godot_os.js index ed48280674..a1424a691a 100644 --- a/platform/javascript/native/library_godot_os.js +++ b/platform/javascript/native/library_godot_os.js @@ -53,7 +53,6 @@ autoAddDeps(IDHandler, "$IDHandler"); mergeInto(LibraryManager.library, IDHandler); const GodotConfig = { - $GodotConfig__postset: 'Module["initConfig"] = GodotConfig.init_config;', $GodotConfig: { canvas: null, @@ -209,7 +208,6 @@ const GodotOS = { 'GodotOS._fs_sync_promise = Promise.resolve();', ].join(''), $GodotOS: { - request_quit: function() {}, _async_cbs: [], _fs_sync_promise: null, |