jquery.mobile-1.3.1.min的目的是什么?jquery.mobile-1.3.1发行版中的Map



当我下载jquery.mobile-1.3.1 dist时,我看到了以下结构:

demos -> directory for demos of jquery-mobile
images -> directory of images 
index.html -> index for demos
jquery.mobile-1.3.1.css -> Uncompressed with Default theme
jquery.mobile-1.3.1.js -> Uncompressed
jquery.mobile-1.3.1.min.css -> Minified with Default theme
jquery.mobile-1.3.1.min.js -> Minified
jquery.mobile-1.3.1.min.map -> ?? (what it is for? is it necessary for min version?)
jquery.mobile.structure-1.3.1.css -> Uncompressed structure without a theme
jquery.mobile.structure-1.3.1.min.css -> Minified structure without a theme
jquery.mobile.theme-1.3.1.css -> Uncompressed theme for structure without theme (can be changed by another theme)
jquery.mobile.theme-1.3.1.min.css -> Minified theme for structure without theme (can be changed by another theme)

你可以看到我不知道jquery.mobile-1.3.1.min的目的。地图,它是干什么用的?需要最小版本吗?

这是一个源映射。它们在调试缩小的JavaScript文件时使用。因为它只用于调试目的,所以不是必需的。

我推荐阅读Introduction to JavaScript Source Maps.

最新更新