浏览代码

Source map syntax changed slightly.

Closes #1917.
Bruno Garcia 12 年之前
父节点
当前提交
97a32a6e9d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 =