Browse Source

more osx types.

Nicolas Cannasse 18 years ago
parent
commit
b4f016f20e
1 changed files with 6 additions and 0 deletions
  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+"'";
 		}