Explorar o código

Merge pull request #3322 from Deltachaos/patch-1

using the $ sign is not safe when using jQuery.noConflict()
Simon Krajewski %!s(int64=11) %!d(string=hai) anos
pai
achega
265db078c4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      std/js/JQuery.hx

+ 1 - 1
std/js/JQuery.hx

@@ -390,7 +390,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__("this"));
+		return untyped js.JQuery(__js__("this"));
 	}
 
 	private static function __init__() : Void untyped {