浏览代码

Merge pull request #3322 from Deltachaos/patch-1

using the $ sign is not safe when using jQuery.noConflict()
Simon Krajewski 11 年之前
父节点
当前提交
265db078c4
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 {