This is an automated email from the ASF dual-hosted git repository.

joshtynjala pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 3fd29d2241c729b0fb5c0e1898d5335f71943134
Author: Josh Tynjala <[email protected]>
AuthorDate: Wed Apr 30 08:40:08 2025 -0700

    ASDoc: add missing fields to EventDispatcher.swf.json
---
 .../apache/royale/events/EventDispatcher.swf.json  | 125 +++++++++++++--------
 1 file changed, 78 insertions(+), 47 deletions(-)

diff --git 
a/examples/royale/ASDoc/src/main/json/org/apache/royale/events/EventDispatcher.swf.json
 
b/examples/royale/ASDoc/src/main/json/org/apache/royale/events/EventDispatcher.swf.json
index 75e6db1faa..37d8ec2d17 100644
--- 
a/examples/royale/ASDoc/src/main/json/org/apache/royale/events/EventDispatcher.swf.json
+++ 
b/examples/royale/ASDoc/src/main/json/org/apache/royale/events/EventDispatcher.swf.json
@@ -1,51 +1,82 @@
-{ "type": "class",
+{
+  "type": "class",
   "qname": "org.apache.royale.events.EventDispatcher",
-  "baseClassname": "flash.events.EventDispatcher"
-  ,
-    "description": "This class simply wraps flash.events.EventDispatcher so 
that no flash packages are needed on the JS side.",
+  "baseClassname": "flash.events.EventDispatcher",
+  "description": "This class simply wraps flash.events.EventDispatcher so that 
no flash packages are needed on the JS side.",
   "tags": [
-  {  "tagName": "playerversion",
-         "values": ["Flash 10.2", "AIR 2.6"]},
-      {  "tagName": "productversion",
-         "values": ["Royale 0.0"]},
-      {  "tagName": "langversion",
-         "values": ["3.0"]}  ],
+    { 
+      "tagName": "playerversion",
+      "values": ["Flash 10.2", "AIR 2.6"]
+    },
+    {
+      "tagName": "productversion",
+      "values": ["Royale 0.0"]
+    },
+    {
+      "tagName": "langversion",
+      "values": ["3.0"]
+    }
+  ],
   "members": [
-  { "type": "method",
-        "qname": "org.apache.royale.events.EventDispatcher",
-        "namespace": "",
-        "bindable": [],
-        "details": [],
-        "deprecated": {},
-          "description": "Constructor.",
-        "tags": [
-        {  "tagName": "playerversion",
-               "values": ["Flash 10.2", "AIR 2.6"]},
-            {  "tagName": "productversion",
-               "values": ["Royale 0.0"]},
-            {  "tagName": "langversion",
-               "values": ["3.0"]}  ],
-          "return": "",
-          "params": [{ "name": "target", "type": 
"org.apache.royale.events.IEventDispatcher"}]}
-      ,
-      { "type": "method",
-        "qname": "addEventListener",
-        "namespace": "public",
-        "bindable": [],
-        "details": [],
-        "deprecated": {},
-          "description": "Adds an event listener.",
-          "return": "void",
-          "params": [{ "name": "type", "type": "String"},{ "name": "handler", 
"type": "Function"},{ "name": "capture", "type": "Boolean"}]}
-      ,
-      { "type": "method",
-        "qname": "removeEventListener",
-        "namespace": "public",
-        "bindable": [],
-        "details": [],
-        "deprecated": {},
-          "description": "Removes an event listener.",
-          "return": "void",
-          "params": [{ "name": "type", "type": "String"},{ "name": "handler", 
"type": "Function"},{ "name": "capture", "type": "Boolean"}]}
+    {
+      "type": "method",
+      "qname": "org.apache.royale.events.EventDispatcher",
+      "namespace": "",
+      "bindable": [],
+      "details": [],
+      "deprecated": {},
+      "description": "Constructor.",
+      "tags": [
+        {
+          "tagName": "playerversion",
+          "values": ["Flash 10.2", "AIR 2.6"]
+        },
+        {
+          "tagName": "productversion",
+          "values": ["Royale 0.0"]
+        },
+        {
+          "tagName": "langversion",
+          "values": ["3.0"]
+        }
+      ],
+      "return": "",
+      "params": [
+        {"name": "target", "type": "org.apache.royale.events.IEventDispatcher"}
       ]
-  }
+    },
+    {
+      "type": "method",
+      "qname": "addEventListener",
+      "namespace": "public",
+      "bindable": [],
+      "details": [],
+      "deprecated": {},
+      "description": "Adds an event listener.",
+      "tags": [],
+      "return": "void",
+      "params": [
+        {"name": "type", "type": "String"},
+        {"name": "handler", "type": "Function"},
+        {"name": "capture", "type": "Boolean"}
+      ]
+    },
+    {
+      "type": "method",
+      "qname": "removeEventListener",
+      "namespace": "public",
+      "bindable": [],
+      "details": [],
+      "deprecated": {},
+      "description": "Removes an event listener.",
+      "tags": [],
+      "return": "void",
+      "params": [
+        {"name": "type", "type": "String"},
+        {"name": "handler", "type": "Function"},
+        {"name": "capture", "type": "Boolean"}
+      ]
+    }
+  ],
+  "events": []
+}

Reply via email to