This file contains hidden or 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
haxelib install nodejs 0.6 |
This file contains hidden or 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
// ActAsDog.as | |
public function bark(): void | |
{ | |
trace("bark"); | |
} | |
// ActAsCat.as | |
public function meow(): void |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<scheme name="BlueForestDev" version="1" parent_scheme="Default"> | |
<option name="LINE_SPACING" value="1.1" /> | |
<option name="EDITOR_FONT_SIZE" value="12" /> | |
<option name="EDITOR_FONT_NAME" value="Menlo" /> | |
<colors> | |
<option name="ADDED_LINES_COLOR" value="8080" /> | |
<option name="ANNOTATIONS_COLOR" value="8080ff" /> | |
<option name="ANNOTATIONS_MERGED_COLOR" value="80ff80" /> | |
<option name="CARET_COLOR" value="ffffff" /> |
This file contains hidden or 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
//put this class in src/main/as3 | |
package | |
{ | |
import flash.display.Sprite; | |
import org.robotlegs.v2.core.impl.Context; | |
import org.swiftsuspenders.ReflectorBase; | |
[SWF(width="1024",height="768")] | |
public class MyProject extends Sprite | |
{ |
This file contains hidden or 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
enum MyEnum | |
{ | |
first; | |
second; | |
third(param:MyParam); | |
} | |
class MyClass | |
{ | |
private var _state:MyEnum; |
This file contains hidden or 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
enum MyEnum | |
{ | |
first; | |
second; | |
third(param:MyParam); | |
} | |
class MyClass | |
{ | |
private var _state:MyEnum; |
This file contains hidden or 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
class MyObject | |
def instanceMethod | |
"MyObject" | |
end | |
end | |
module MyMixin | |
def instanceMethod | |
"MyMixin" | |
end |
This file contains hidden or 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
class Node | |
private | |
_upstream/_parents: Vector.<Node> | |
_downstream/_children: Vector.<Node> | |
end |
This file contains hidden or 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
module Sandbox | |
end | |
class App | |
def initialize | |
app = self | |
Sandbox.class.send(:define_method, :app) do | |
puts app | |
end | |
Sandbox.app |
This file contains hidden or 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 | |
{ | |
import flash.display.Sprite; | |
public class Test extends Sprite | |
{ | |
public function Test() | |
{ | |
var a:Value = new Value(); |