Browse Source

more osx types.

Nicolas Cannasse 18 năm trước cách đây
mục cha
commit
b4f016f20e
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      std/neko/net/ProxyDetect.hx

+ 6 - 0
std/neko/net/ProxyDetect.hx

@@ -134,6 +134,12 @@ class ProxyDetect {
 			for( x in xml.elements() )
 				a.push(parseOSXConfiguration(x));
 			return a;
+		case "true":
+			return true;
+		case "false":
+			return false;
+		case "data":
+			return xml.firstChild().nodeValue;
 		default:
 			throw "Invalid value type '"+xml.nodeName+"'";
 		}