Kaynağa Gözat

Merge pull request #5148 from markknol/patch-6

inline Ereg.replace
Dan Korostelev 9 yıl önce
ebeveyn
işleme
97e2d61fa4
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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);
 	}