소스 검색

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+"'";
 		}