Sha256: d04eaf3cac71e92c2052e9841722244581d1d94aa89756a8f4a867ff00ca7a8a

Contents?: true

Size: 543 Bytes

Versions: 28

Compression:

Stored size: 543 Bytes

Contents

import com.asunit.ui.*;

class RemoteVersion extends XML {
	private var callback:Main;
	
	public function RemoteVersion(cb:Main) {
		callback = cb;
		init();
	}
	
	public function init():Void {
		ignoreWhite = true;
		load("http://www.asunit.com/version.xml?userVersion=" + callback.getVersionNumber());
	}
	
	public function onLoad(success:Boolean):Void {
		parseVersion(this.firstChild.firstChild);
	}
	
	public function parseVersion(node:XMLNode):Void {
		callback.checkRemoteVersion(node.firstChild.nodeValue);
	}
}

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
asproject-0.1.27 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.21 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.31 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.30 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.29 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.28 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.34 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.36 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.32 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.33 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.35 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.37 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.38 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.44 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.43 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.42 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.41 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.40 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.68 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.60 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as