English 中文(简体)
为什么即使我已经装满该页装上该页的微调器装载舱-1.7.1?
原标题:Why does MiniProfiler load jquery-1.7.1 even though I ve already loaded that on the page?

I ve在伙伴关系上实施了StackExchange miniProfiler。 NET WebForms page which have reference v1.7.1 of jQuery. 盖尔斯文件在当地存放,因此,我的主人档案认为:

<script src="Scripts/jquery-1.7.1.min.js" type="text/javascript"></script>
<%= MiniProfiler.RenderIncludes() %>

然而,当我看看所产生产出的来源时,我发现的情况与此类似。

<script src="Scripts/jquery-1.7.1.min.js" type="text/javascript"></script>
<script type="text/javascript">    
    ...
    load( /app/mini-profiler-resources/jquery.1.7.1.js?v=tNlJPuyuHLy/d5LQjyDuRbWKa0weCpmO3xkO6MH4TtA= , initMp);
</script>

在“dev”工具网络表格中,我可以看到,它提出了两项要求,一项是“密码”/jquery-1.7.1.min.js,另一项是<代码>/app/mini-profiler-resources/jquery.1.7.1.js 。

这是否是一个相当重要的 red余问题? 我如何阻止小型图书馆,包括索取、下载和复制j Query图书馆的另一份副本?

最佳回答

原因是,我们正在装上无冲突区的支架。 这消除了打碎金版本的冲突风险。 例如,我们不敢肯定,如果 j木版1.0版在网页上的话,我们会继续工作。 为了避免任何风险,我们装上了自己的版本。

现在,如果“权利”文本在这里可以简单地列入<条码>jQueryMP至<条码>。 然而,这使守则复杂化,只解决了单一版本的 j问题。

问题回答

由于他们有不同的气味,这些是浏览器的不同资源。 或许你们不需要你补充的第1条文字。

或审判这一黑客:

<script src="/app/mini-profiler-resources/jquery.1.7.1.js?v=tNlJPuyuHLy/d5LQjyDuRbWKa0weCpmO3xkO6MH4TtA="></script>




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签