Skip to content

Commit 426537a

Browse files
committed
avm2: Reformat flash.printing AS3 sources
This makes AS3 code more consistent.
1 parent 7ec8e68 commit 426537a

File tree

3 files changed

+5
-25
lines changed

3 files changed

+5
-25
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package flash.printing {
22
import flash.events.EventDispatcher;
33

4-
public class PrintJob extends EventDispatcher {
5-
}
4+
public class PrintJob extends EventDispatcher {}
65
}

core/src/avm2/globals/flash/printing/PrintJobOptions.as

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
1-
// The initial version of this file was autogenerated from the official AS3 reference at
2-
// https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/printing/PrintJobOptions.html
3-
// by https://github.com/golfinq/ActionScript_Event_Builder
4-
// It won't be regenerated in the future, so feel free to edit and/or fix
5-
61
package flash.printing {
72
public class PrintJobOptions {
8-
// Specifies whether the content in the print job is printed as a bitmap or as a vector.
9-
public var printAsBitmap: Boolean;
3+
public var printAsBitmap:Boolean;
104

11-
public function PrintJobOptions(printAsBitmap:Boolean = false)
12-
{
5+
public function PrintJobOptions(printAsBitmap:Boolean = false) {
136
this.printAsBitmap = printAsBitmap;
147
}
158
}
Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,6 @@
1-
// The initial version of this file was autogenerated from the official AS3 reference at
2-
// https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/printing/PrintJobOrientation.html
3-
// by https://github.com/golfinq/ActionScript_Event_Builder
4-
// It won't be regenerated in the future, so feel free to edit and/or fix
5-
6-
package flash.printing
7-
{
8-
9-
public final class PrintJobOrientation
10-
{
11-
// The landscape (horizontal) image orientation for printing.
1+
package flash.printing {
2+
public final class PrintJobOrientation {
123
public static const LANDSCAPE:String = "landscape";
13-
14-
// The portrait (vertical) image orientation for printing.
154
public static const PORTRAIT:String = "portrait";
16-
175
}
186
}

0 commit comments

Comments
 (0)