加载期间的jQuery错误“无法执行查询:'* ,: x'不是有效的选择器." [英] JQuery error during load "Failed to execute query: '*,:x' is not a valid selector."
问题描述
我正在尝试调试应用程序,但无法启动,因为在浏览器加载jquery 2.1.0时出现错误.错误出现在未缩小版本的第1210行上
div.querySelectorAll("*,:x");
我的标题出现错误.
我正在使用Chrome版本32.
我发现了这个 jQuery Bug票证似乎就是您正在体验的东西,另外一个 StackOverflow 描述该问题,并在另一个jQuery Bug票证上对此问题进行更长的讨论. /p>
尽管如此,它似乎没有被标记为错误,因为它是jQuery的内部错误检查/异常抛出.
正如 jQuery团队描述的评论:
分辨率设置为 notabug
不要在捕获的异常上中断.我们抓到它是因为我们期望.
I am trying to debug an application and I can't start because I am getting an error as the browser is loading jquery 2.1.0. The error is on line 1210 of the unminified version
div.querySelectorAll("*,:x");
and I am getting the error in the title.
I am using Chrome version 32.
I've found this jQuery bug ticket that seems like what you're experiencing, another one on StackOverflow describing the problem and a longer discussion about it on another jQuery bug ticket.
Although, it seems like it's not tagged as a bug as it's jQuery's internal error checking/exceptions being thrown.
As the comment by jQuery team describes:
Resolution set to notabug
Don't break on caught exceptions. We caught it because we expected it.
这篇关于加载期间的jQuery错误“无法执行查询:'* ,: x'不是有效的选择器."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!