Skip to content

Commit b861acf

Browse files
committedMar 29, 2017
add suffix .js for OCaml generated js files, the external is left as is
1 parent 6fe622e commit b861acf

File tree

377 files changed

+1516
-1504
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

377 files changed

+1516
-1504
lines changed
 

Diff for: ‎jscomp/all.depend

+1-1
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ core/lam_pass_alpha_conversion.cmx : core/lam_stats_util.cmx \
481481
core/lam_pass_collect.cmx : core/lam_util.cmx core/lam_stats_util.cmx \
482482
core/lam_stats.cmx core/lam.cmx ext/int_hash_set.cmx ext/ident_set.cmx \
483483
ext/ident_hashtbl.cmx core/lam_pass_collect.cmi
484-
core/js_program_loader.cmx : core/lam_module_ident.cmx \
484+
core/js_program_loader.cmx : ext/literals.cmx core/lam_module_ident.cmx \
485485
core/lam_compile_env.cmx core/js_stmt_make.cmx core/js_exp_make.cmx \
486486
common/js_config.cmx core/j.cmx ext/ident_set.cmx ext/ext_sys.cmx \
487487
ext/ext_string.cmx ext/ext_filename.cmx core/config_util.cmx \

Diff for: ‎jscomp/bin/all_ounit_tests.ml

+2-1
Original file line numberDiff line numberDiff line change
@@ -10676,7 +10676,7 @@ let node_relative_path node_modules_shorten (file1 : t)
1067610676
| `File x -> `File (absolute_path x)
1067710677
| `Dir x -> `Dir(absolute_path x))
1067810678
^ node_sep ^
10679-
chop_extension_if_any (Filename.basename file2)
10679+
(* chop_extension_if_any *) (Filename.basename file2)
1068010680

1068110681

1068210682

@@ -10847,6 +10847,7 @@ let simple_convert_node_path_to_os_path =
1084710847
else if Sys.win32 || Sys.cygwin then
1084810848
Ext_string.replace_slash_backward
1084910849
else failwith ("Unknown OS : " ^ Sys.os_type)
10850+
1085010851
end
1085110852
module Ounit_path_tests
1085210853
= struct

0 commit comments

Comments
 (0)