Explorar o código

[std] remove an old hack for js.Lib.global

Jens Fischer %!s(int64=6) %!d(string=hai) anos
pai
achega
ba1af21aa5
Modificáronse 1 ficheiros con 1 adicións e 7 borrados
  1. 1 7
      std/js/Lib.hx

+ 1 - 7
std/js/Lib.hx

@@ -103,13 +103,7 @@ class Lib {
 		Concretely, it is set as the first defined value in the list of
 		Concretely, it is set as the first defined value in the list of
 		`window`, `global`, `self`, and `this` in the top-level of the compiled output.
 		`window`, `global`, `self`, and `this` in the top-level of the compiled output.
 	**/
 	**/
-	#if (haxe_ver >= 3.3)
-		public
-	#else
-		// hide it since we should not add new feature in 3.2.1
-		@:allow(js) private
-	#end
-	static var global(get,never) : Dynamic;
+	public static var global(get,never) : Dynamic;
 	extern static inline function get_global() : Dynamic {
 	extern static inline function get_global() : Dynamic {
 		return untyped __define_feature__("js.Lib.global", __js__("$global")); // $global is generated by the compiler
 		return untyped __define_feature__("js.Lib.global", __js__("$global")); // $global is generated by the compiler
 	}
 	}