|
@@ -36,9 +36,13 @@
|
|
return untyped HxOverrides.cca(this, index);
|
|
return untyped HxOverrides.cca(this, index);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ #if js_es5
|
|
|
|
+ function substr( pos : Int, ?len : Int ) : String;
|
|
|
|
+ #else
|
|
inline function substr( pos : Int, ?len : Int ) : String {
|
|
inline function substr( pos : Int, ?len : Int ) : String {
|
|
return untyped HxOverrides.substr(this, pos, len);
|
|
return untyped HxOverrides.substr(this, pos, len);
|
|
}
|
|
}
|
|
|
|
+ #end
|
|
|
|
|
|
static function fromCharCode( code : Int ) : String;
|
|
static function fromCharCode( code : Int ) : String;
|
|
}
|
|
}
|