diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2020-09-23 02:29:56 -0400 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2020-11-16 23:38:11 -0500 |
commit | 02161aad5aa1355e977ea7df225aef53dab2f5bb (patch) | |
tree | e222169be99a6b736de88e01a0941513e18600e1 /platform/javascript/native | |
parent | 66e3060ea193aeb81a627c8cd4478a3547de9830 (diff) |
Remove empty lines around braces with the formatting script
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, |