Преглед на файлове

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

Jens Fischer преди 6 години
родител
ревизия
ba1af21aa5
променени са 1 файла, в които са добавени 1 реда и са изтрити 7 реда
  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
 		`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 {
 		return untyped __define_feature__("js.Lib.global", __js__("$global")); // $global is generated by the compiler
 	}