浏览代码

more osx types.

Nicolas Cannasse 18 年之前
父节点
当前提交
b4f016f20e
共有 1 个文件被更改,包括 6 次插入0 次删除
  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+"'";
 		}