2013-04-21 2 views
13

Wenn ich die jquery.mobile-1.3.1 dist heruntergeladen i die folgende Struktur sehen:Was ist der Zweck von jquery.mobile-1.3.1.min.map in der Distribution jquery.mobile-1.3.1?

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) 

Wie Sie kann ich den Zweck jquery.mobile-1.3.1.min.map sehen nicht wissen, was es ist für? Ist es für eine minimale Version notwendig?

Antwort

19

Das ist eine Quellkarte. Sie werden beim Debuggen von reduzierten JavaScript-Dateien verwendet. Da es nur für Debugging-Zwecke ist, ist es nicht erforderlich.

Ich empfehle das Lesen Introduction to JavaScript Source Maps.

+0

danke dude! Ich habe noch nicht von Quellkarten gehört, aber Ihr Link ist sehr explizit – user1546652