Remove empty lines around braces with the formatting script

This commit is contained in:
Aaron Franke
2020-09-23 02:29:56 -04:00
parent 66e3060ea1
commit 02161aad5a
221 changed files with 0 additions and 399 deletions
@@ -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;
@@ -28,9 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
var GodotHTTPRequest = {
$GodotHTTPRequest: {
requests: [],
getUnusedRequestId: function() {
@@ -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,
@@ -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: [],
@@ -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);
@@ -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
@@ -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,