Kaynağa Gözat

removed js.Lib.isIE/isOpera

Nicolas Cannasse 13 yıl önce
ebeveyn
işleme
5a59357ca6
2 değiştirilmiş dosya ile 0 ekleme ve 4 silme
  1. 0 2
      std/js/Boot.hx
  2. 0 2
      std/js/Lib.hx

+ 0 - 2
std/js/Boot.hx

@@ -181,8 +181,6 @@ class Boot {
 
 	private static function __init() {
 		untyped {
-			Lib.isIE = (__js__("typeof document!='undefined'") && document.all != null && __js__("typeof window!='undefined'") && window.opera == null );
-			Lib.isOpera = (__js__("typeof window!='undefined'") && window.opera != null );
 			Array.prototype.copy = Array.prototype.slice;
 			Array.prototype.insert = function(i,x) {
 				__this__.splice(i,0,x);

+ 0 - 2
std/js/Lib.hx

@@ -28,8 +28,6 @@ import js.Dom;
 
 class Lib {
 
-	public static var isIE : Bool;
-	public static var isOpera : Bool;
 	public static var document : Document;
 	public static var window : Window;
 	static var onerror : String -> Array<String> -> Bool = null;