Skip to content

Commit 65351bc

Browse files
authored
Update xml-capabilities.md
1 parent 2f86004 commit 65351bc

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/overview/xml-capabilities.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ The ShockScript language includes XML capabilities.
77
XML expressions by default are used for creating implementation-defined objects; however, when the inference type is `XML` or `XMLList`, XML expressions evaluate to one of these types.
88

99
```
10-
package com.business.editor {
10+
package com.business.components {
1111
//
12-
public function SomeBar() {
12+
public function AppBar() {
1313
return (
14-
<j:VGroup gap={5}>
15-
<j:Label>Hi, there.</j:Label>
16-
</j:VGroup>
14+
<j:HGroup>
15+
<j:Button click&={trace("clicked!")}>button 1</j:Button>
16+
</j:HGroup>
1717
);
1818
}
1919
}

0 commit comments

Comments
 (0)