Skip to content

Commit d1bf347

Browse files
committed
upd
1 parent 12284d8 commit d1bf347

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • src/overview/xml-capabilities

src/overview/xml-capabilities/jet.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ If the style sheet is too large, it may be moved out of the ShockScript file usi
4545
package com.fun.components {
4646
//
4747
public function CustomComponent() {
48-
const stylesheet = Embed("CustomComponent.css", static="text/plain");
49-
5048
return (
5149
<j:Button>
52-
<j:Style source={stylesheet} color="yellow"/>
50+
<j:Style
51+
source={Embed("CustomComponent.css", static="text/plain")}
52+
color="yellow"/>
5353
Click me
5454
</j:Button>
5555
);

0 commit comments

Comments
 (0)