Skip to content

Commit

Permalink
Run Haxe formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
jgranick committed Aug 30, 2024
1 parent cbb7482 commit fa5d124
Show file tree
Hide file tree
Showing 137 changed files with 1,022 additions and 833 deletions.
4 changes: 3 additions & 1 deletion externs/air/flash/data/SQLCollationType.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.data;

@:native("flash.data.SQLCollationType")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract SQLCollationType(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract SQLCollationType(String)

{
var BINARY = "binary";
var NO_CASE = "noCase";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/data/SQLColumnNameStyle.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.data;

@:native("flash.data.SQLColumnNameStyle")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract SQLColumnNameStyle(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract SQLColumnNameStyle(String)

{
var DEFAULT = "default";
var LONG = "long";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/data/SQLMode.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.data;

@:native("flash.data.SQLMode")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract SQLMode(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract SQLMode(String)

{
var CREATE = "create";
var READ = "read";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/data/SQLTransactionLockType.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.data;

@:native("flash.data.SQLTransactionLockType")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract SQLTransactionLockType(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract SQLTransactionLockType(String)

{
var DEFERRED = "deferred";
var EXCLUSIVE = "exclusive";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/desktop/InvokeEventReason.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.desktop;

@:native("flash.desktop.InvokeEventReason")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract InvokeEventReason(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract InvokeEventReason(String)

{
var LOGIN = "login";
var NOTIFICATION = "notification";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/desktop/NativeDragActions.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.desktop;

@:native("flash.desktop.NativeDragActions")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract NativeDragActions(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract NativeDragActions(String)

{
var COPY = "copy";
var LINK = "link";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/desktop/NotificationType.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.desktop;

@:native("flash.desktop.NotificationType")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract NotificationType(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract NotificationType(String)

{
var CRITICAL = "critical";
var INFORMATIONAL = "informational";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/desktop/SystemIdleMode.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.desktop;

@:native("flash.desktop.SystemIdleMode")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract SystemIdleMode(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract SystemIdleMode(String)

{
var KEEP_AWAKE = "keepAwake";
var NORMAL = "normal";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/display/NativeWindowDisplayState.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.display;

@:native("flash.display.NativeWindowDisplayState")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract NativeWindowDisplayState(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract NativeWindowDisplayState(String)

{
var MAXIMIZED = "maximized";
var MINIMIZED = "minimized";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/display/NativeWindowRenderMode.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.display;

@:native("flash.display.NativeWindowRenderMode")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract NativeWindowRenderMode(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract NativeWindowRenderMode(String)

{
var AUTO = "auto";
var CPU = "cpu";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/display/NativeWindowResize.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.display;

@:native("flash.display.NativeWindowResize")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract NativeWindowResize(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract NativeWindowResize(String)

{
var BOTTOM = "bottom";
var BOTTOM_LEFT = "bottomLeft";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/display/NativeWindowSystemChrome.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.display;

@:native("flash.display.NativeWindowSystemChrome")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract NativeWindowSystemChrome(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract NativeWindowSystemChrome(String)

{
var ALTERNATE = "alternate";
var NONE = "none";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/display/NativeWindowType.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.display;

@:native("flash.display.NativeWindowType")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract NativeWindowType(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract NativeWindowType(String)

{
var LIGHTWEIGHT = "lightweight";
var NORMAL = "normal";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/display/StageAspectRatio.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.display;

@:native("flash.display.StageAspectRatio")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract StageAspectRatio(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract StageAspectRatio(String)

{
var ANY = "any";
var LANDSCAPE = "landscape";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/display/StageOrientation.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.display;

@:native("flash.display.StageOrientation")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract StageOrientation(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract StageOrientation(String)

{
var DEFAULT = "default";
var ROTATED_LEFT = "rotatedLeft";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/display3D/Context3DProfile.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.display3D;

@:native("flash.display3D.Context3DProfile")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract Context3DProfile(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract Context3DProfile(String)

{
var BASELINE = "baseline";
var BASELINE_CONSTRAINED = "baselineConstrained";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/errors/SQLErrorOperation.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.errors;

@:native("flash.errors.SQLErrorOperation")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract SQLErrorOperation(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract SQLErrorOperation(String)

{
var ANALYZE = "analyze";
var ATTACH = "attach";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/events/TouchEventIntent.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.events;

@:native("flash.events.TouchEventIntent")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract TouchEventIntent(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract TouchEventIntent(String)

{
var ERASER = "eraser";
var PEN = "pen";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/filesystem/FileMode.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.filesystem;

@:native("flash.filesystem.FileMode")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract FileMode(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract FileMode(String)

{
var APPEND = "append";
var READ = "read";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/media/AudioPlaybackMode.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.media;

@:native("flash.media.AudioPlaybackMode")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract AudioPlaybackMode(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract AudioPlaybackMode(String)

{
var AMBIENT = "ambient";
var MEDIA = "media";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/media/CameraPosition.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.media;

@:native("flash.media.CameraPosition")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract CameraPosition(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract CameraPosition(String)

{
var BACK = "back";
var FRONT = "front";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/media/MediaType.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.media;

@:native("flash.media.MediaType")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract MediaType(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract MediaType(String)

{
var IMAGE = "image";
var VIDEO = "video";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/net/IPVersion.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.net;

@:native("flash.net.IPVersion")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract IPVersion(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract IPVersion(String)

{
var IPV4 = "ipv4";
var IPV6 = "ipv6";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/notifications/NotificationStyle.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.notifications;

@:native("flash.notifications.NotificationStyle")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract NotificationStyle(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract NotificationStyle(String)

{
var ALERT = "alert";
var BADGE = "badge";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/printing/PaperSize.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.printing;

@:native("flash.printing.PaperSize")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract PaperSize(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract PaperSize(String)

{
var A4 = "a4";
var A5 = "a5";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/printing/PrintMethod.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.printing;

@:native("flash.printing.PrintMethod")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract PrintMethod(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract PrintMethod(String)

{
var AUTO = "auto";
var BITMAP = "bitmap";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/security/ReferencesValidationSetting.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.security;

@:native("flash.security.ReferencesValidationSetting")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract ReferencesValidationSetting(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract ReferencesValidationSetting(String)

{
var NEVER = "never";
var VALID_IDENTITY = "validIdentity";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/security/RevocationCheckSettings.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.security;

@:native("flash.security.RevocationCheckSettings")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract RevocationCheckSettings(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract RevocationCheckSettings(String)

{
var ALWAYS_REQUIRED = "alwaysRequired";
var BEST_EFFORT = "bestEffort";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/security/SignatureStatus.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.security;

@:native("flash.security.SignatureStatus")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract SignatureStatus(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract SignatureStatus(String)

{
var INVALID = "invalid";
var UNKNOWN = "unknown";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/security/SignerTrustSettings.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.security;

@:native("flash.security.SignerTrustSettings")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract SignerTrustSettings(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract SignerTrustSettings(String)

{
var CODE_SIGNING = "codeSigning";
var PLAYLIST_SIGNING = "playlistSigning";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/text/AutoCapitalize.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.text;

@:native("flash.text.AutoCapitalize")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract AutoCapitalize(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract AutoCapitalize(String)

{
var ALL = "all";
var NONE = "none";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/text/ReturnKeyLabel.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.text;

@:native("flash.text.ReturnKeyLabel")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract ReturnKeyLabel(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract ReturnKeyLabel(String)

{
var DEFAULT = "default";
var DONE = "done";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/text/SoftKeyboardType.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.text;

@:native("flash.text.SoftKeyboardType")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract SoftKeyboardType(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract SoftKeyboardType(String)

{
var CONTACT = "contact";
var DEFAULT = "default";
Expand Down
4 changes: 3 additions & 1 deletion externs/air/flash/text/StageTextClearButtonMode.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package flash.text;

@:native("flash.text.StageTextClearButtonMode")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract StageTextClearButtonMode(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern
@:enum #end abstract StageTextClearButtonMode(String)

{
var ALWAYS = "always";
var NEVER = "never";
Expand Down
4 changes: 2 additions & 2 deletions externs/air/sys/io/FileInput.hx
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ class FileInput extends haxe.io.Input
switch (pos)
{
case SeekBegin:
// this.pos = p;
// this.pos = p;
case SeekEnd:
// this.pos = cast Fs.fstatSync(fd).size + p;
// this.pos = cast Fs.fstatSync(fd).size + p;
case SeekCur:
// this.pos += p;
}
Expand Down
4 changes: 2 additions & 2 deletions externs/air/sys/io/FileOutput.hx
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ class FileOutput extends haxe.io.Output
switch (pos)
{
case SeekBegin:
// this.pos = p;
// this.pos = p;
case SeekEnd:
// this.pos = cast Fs.fstatSync(fd).size + p;
// this.pos = cast Fs.fstatSync(fd).size + p;
case SeekCur:
// this.pos += p;
}
Expand Down
Loading

0 comments on commit fa5d124

Please sign in to comment.