|
@@ -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
|
|
|
}
|