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.71 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.69 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.74 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.75 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.84 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.89 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.80 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as
asproject-0.1.92 templates/asproject/asunit2/project/lib/asunit/com/asunit/ui/RemoteVersion.as