Browse Source

[js] inline Std.parseFloat

Dan Korostelev 10 years ago
parent
commit
136d4bc9ca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/js/_std/Std.hx

+ 1 - 1
std/js/_std/Std.hx

@@ -50,7 +50,7 @@ import js.Boot;
 		return cast v;
 	}
 
-	public static function parseFloat( x : String ) : Float {
+	public static inline function parseFloat( x : String ) : Float {
 		return untyped __js__("parseFloat")(x);
 	}