|
@@ -74,7 +74,7 @@ extern class JQueryHelper {
|
|
|
public static var JTHIS(get, null) : JQuery;
|
|
|
|
|
|
static inline function get_JTHIS() : JQuery {
|
|
|
- return untyped __js__("$(this)");
|
|
|
+ return new JQuery(js.Lib.nativeThis);
|
|
|
}
|
|
|
|
|
|
}
|
|
@@ -391,7 +391,7 @@ extern class JQuery implements ArrayAccess<Element> {
|
|
|
//static function is*, makeArray, map, merge, noop, now, param, proxy, sub, trim, type, unique
|
|
|
|
|
|
private static inline function get_cur() : JQuery {
|
|
|
- return untyped js.JQuery(__js__("this"));
|
|
|
+ return new js.JQuery(js.Lib.nativeThis);
|
|
|
}
|
|
|
|
|
|
private static function __init__() : Void untyped {
|