///< reference path =" jquery-1.8.3.js" />实际上呢? [英] What does /// <reference path="jquery-1.8.3.js" /> actually do?
本文介绍了///< reference path =" jquery-1.8.3.js" />实际上呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在我使用的一些JavaScript文件中看到了这行代码,位于文件的最顶层(第一行),但我不清楚它到底是做什么的。
I see this line of code in some of the JavaScript Files I work with, at the very top of the file ( first line ), but its not clear to me exactly what this does.
Google对此没什么帮助。
Google wasn't much help on this.
/// <reference path="jquery-1.8.3.js" />
它的目的是什么?
要添加更多详细信息,我使用的是Visual Studio 2015。
推荐答案
这很可能是Visual Studio的JavaScript intellisense。 Mads Kristensen有一个很好的文章,您可以阅读以了解有关此历史的更多信息以及如何正确使用它。
This is most likely for Visual Studio's JavaScript intellisense. Mads Kristensen has a nice article you can read to learn more about the history of this and how to use it correctly.
这篇关于///< reference path =" jquery-1.8.3.js" />实际上呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文