Procházet zdrojové kódy

Source map syntax changed slightly.

Closes #1917.
Bruno Garcia před 12 roky
rodič
revize
97a32a6e9d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      genjs.ml

+ 1 - 1
genjs.ml

@@ -194,7 +194,7 @@ let basename path =
 
 let write_mappings ctx =
 	let basefile = basename ctx.com.file in
-	print ctx "\n//@ sourceMappingURL=%s.map" basefile;
+	print ctx "\n//# sourceMappingURL=%s.map" basefile;
 	let channel = open_out_bin (ctx.com.file ^ ".map") in
 	let sources = DynArray.to_list ctx.smap.sources in
 	let to_url file =