14

When i downloaded the jquery.mobile-1.3.1 dist i see the following structure:

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)

As you can see i dont know the purpose of jquery.mobile-1.3.1.min.map, what it is for? is it necessary for min version?

4

1 回答 1

20

那是一个源映射。它们在调试缩小的 JavaScript 文件时使用。由于它仅用于调试目的,因此不需要。

我推荐阅读JavaScript Source Maps 简介

于 2013-04-21T13:46:50.977 回答