Skip to content

Commit

Permalink
AS3ExternsGenerator: update
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed Feb 5, 2025
1 parent 151133e commit 00fd35a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/AS3ExternsGenerator.hx
Original file line number Diff line number Diff line change
Expand Up @@ -785,6 +785,9 @@ class AS3ExternsGenerator {

private function generateDocs(doc:String, externs:Bool, indent:String):String {
if (doc == null || StringTools.trim(doc).length == 0) {
if (externs) {
return '$indent/**\n$indent * @externs\n$indent */\n';
}
return "";
}

Expand Down

0 comments on commit 00fd35a

Please sign in to comment.