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