Created
December 29, 2017 22:09
-
-
Save olafkrueger/b27556affada41de22196c46facf0e4d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package components | |
{ | |
public class ACEEditor | |
{ | |
/** | |
* <inject_html> | |
* <script type="text/javascript" src="http://github.com/ajaxorg/ace-builds/tree/master/src-min/ace.js"></script> | |
* </inject_html> | |
*/ | |
public function ACEEditor() | |
{ | |
} | |
COMPILE::JS | |
public function init():void | |
{ | |
var ace:Object = window["ace"]; | |
var editor:Object = ace["edit"]("editor"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment