2
0
Эх сурвалжийг харах

[js] make std Math getters private so they don't show up in completion

Dan Korostelev 11 жил өмнө
parent
commit
ff6c2aa87b
1 өөрчлөгдсөн 3 нэмэгдсэн , 3 устгасан
  1. 3 3
      std/js/_std/Math.hx

+ 3 - 3
std/js/_std/Math.hx

@@ -29,17 +29,17 @@ extern class Math
 	static var PI(default,null) : Float;
 
 	static var NEGATIVE_INFINITY(get, null) : Float;
-	static inline function get_NEGATIVE_INFINITY () : Float {
+	private static inline function get_NEGATIVE_INFINITY () : Float {
 		return -(untyped __js__("Infinity"));
 	}
 
 	static var POSITIVE_INFINITY(get,null) : Float;
-	static inline function get_POSITIVE_INFINITY () : Float {
+	private static inline function get_POSITIVE_INFINITY () : Float {
 		return (untyped __js__("Infinity"));
 	}
 
 	static var NaN(get, null) : Float;
-	static inline function get_NaN () : Float {
+	private static inline function get_NaN () : Float {
 		return (untyped __js__("NaN"));
 	}