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.StageAlign; | |
import flash.display.StageScaleMode; | |
import flash.Lib; | |
import flash.text.TextField; | |
import flash.text.TextFieldType; | |
import flash.events.Event; | |
/** |
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
static var keyWords = ['for', 'while', 'if', 'else', 'do', 'class', 'case', 'cast', 'catch', 'continue', 'enum', 'super', 'switch', 'true', | |
'package', 'in', 'import', 'static', 'function', 'null', 'extends', 'extern', 'false', 'implements', 'inline', 'this', 'throw', 'trace', | |
'break', 'callback', 'default', 'dynamic', 'interface', 'never', 'new', 'override', 'private', 'public', 'return', 'static', | |
'try', 'typedef', 'untyped', 'using', 'var']; | |
static var vSymb = '_abcdefghijklmnopqrstuvwxyz'; | |
static function checkIsValidFieldName(v:String):Bool { | |
if ( v == '' || Std.parseInt(v.substr(0, 1)) != null) return false; | |
v = v.toLowerCase(); | |
if ( Lambda.indexOf(keyWords, v) != -1 ) return false; | |
for (i in 0...v.length) if (vSymb.indexOf(v.substr(i, 1)) == -1 && Std.parseInt(v.substr(i, 1)) == null) return false; |
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 com.bit101.components.TextArea; | |
import com.bit101.components.List; | |
import flash.display.Sprite; | |
import flash.events.MouseEvent; | |
import flash.filters.BlurFilter; | |
import flash.filters.GlowFilter; | |
import flash.geom.Rectangle; | |
import flash.net.URLLoader; |
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 com.dongxiguo.protobuf.binaryFormat.LimitableBytesInput; | |
import haxe.io.BytesInput; | |
import haxe.io.BytesOutput; | |
import pony.net.SocketClient; | |
import pony.net.SocketServer; | |
import samplePackage.Call_Builder; | |
import samplePackage.SetSpeed_Builder; |
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 bindx.IBindable; | |
import unityengine.MonoBehaviour; | |
using bindx.Bind; | |
/** | |
* Test | |
* @author AxG | |
*/ | |
class Test extends MonoBehaviour implements IBindable | |
{ |
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 haxe.macro.Context; | |
import haxe.macro.Expr; | |
import neko.Lib; | |
/** | |
* ... | |
* @author AxGord <[email protected]> | |
*/ |
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 neko.Lib; | |
using Main; | |
/** | |
* ... | |
* @author AxGord <[email protected]> | |
*/ | |
class Main { |
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"?> | |
<config invertbar="true" mouseFilterWait="1000" mouseFilterCount="9"> | |
<work repeat="5000" sound="start.mp3">1</work> | |
<relax sound="start.mp3">1</relax> | |
<idle>10</idle> | |
</config> |
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 haxe.io.BytesInput; | |
import haxe.io.BytesOutput; | |
import pony.net.SocketClient; | |
import pony.net.SocketServer; | |
import pony.nodejs.SerialPort; | |
using pony.Tools; |
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 ; | |
class FastSignalsExample { | |
static function main() { | |
var o = new Signal1<String>(); | |
o.add(function(v) trace(v)); | |
o.dispatch('Hello'); | |
} | |
} |
OlderNewer