Browse Source

Merge pull request #5148 from markknol/patch-6

inline Ereg.replace
Dan Korostelev 9 năm trước cách đây
mục cha
commit
97e2d61fa4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      std/js/_std/EReg.hx

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

@@ -81,7 +81,7 @@
 		return untyped s.replace(r,d).split(d);
 	}
 
-	public function replace( s : String, by : String ) : String {
+	public inline function replace( s : String, by : String ) : String {
 		return untyped s.replace(r,by);
 	}