You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2019/09/19 21:24:18 UTC
[royale-docs] branch master updated: fix jewel-alert code highlight
This is an automated email from the ASF dual-hosted git repository.
carlosrovira pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-docs.git
The following commit(s) were added to refs/heads/master by this push:
new f923fa3 fix jewel-alert code highlight
f923fa3 is described below
commit f923fa301bac2babb1128b79d206374bea7fbc66
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Thu Sep 19 23:24:10 2019 +0200
fix jewel-alert code highlight
---
component-sets/jewel/jewel-alert.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/component-sets/jewel/jewel-alert.md b/component-sets/jewel/jewel-alert.md
index e73e35c..8560071 100644
--- a/component-sets/jewel/jewel-alert.md
+++ b/component-sets/jewel/jewel-alert.md
@@ -81,7 +81,7 @@ To close the window, click one of the buttons on the bottom `ControlBar`, or pro
The `Alert` component uses the `CloseEvent.CLOSE` event when the user removes it from the application. You can attach callback listeners to the `CloseEvent.CLOSE` as follows:
-```AS3
+```as3
var alert:Alert = Alert.show("Do you want to save your changes?", "Save Changes", Alert.OK | Alert.NO);
alert.addEventListener(CloseEvent.CLOSE, alertClickHandler);
```