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

标签 jquery-mobile

当我下载 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.map 的目的,它是做什么用的?最低版本有必要吗?

最佳答案

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

我推荐阅读 Introduction to JavaScript Source Maps .

关于jquery-mobile - jquery.mobile-1.3.1.min.map 在 jquery.mobile-1.3.1 发行版中的目的是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16131785/

相关文章:

jquery - 带有 jquery mobile 的全宽水平按钮?

javascript - jQuery Mobile 加载错误

javascript - jquery移动按钮刷新无法以编程方式工作

javascript - AJAX 请求后,URL 会自动附加 $_GET 参数

html - 叠加在 jQuery Mobile 中方向变化的位置

html - 如何使用左对齐文本叠加层居中图像

css - jquery-mobile 和全局 css 主题之间的 rails mobile view 颜色冲突

ios - 用于移动应用程序的 PhoneGap 和 jQuery Mobile 页面之间的白色闪光

html - 如何在 jquery 中删除舍入以选择查询?

jquery - 表格不会提交