Pārlūkot izejas kodu

Merge pull request #3322 from Deltachaos/patch-1

using the $ sign is not safe when using jQuery.noConflict()
Simon Krajewski 11 gadi atpakaļ
vecāks
revīzija
265db078c4
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 {