disable maps on R14, R15 and R16

This commit is contained in:
alisdair sullivan 2014-12-09 14:41:30 -08:00
parent a9a2c2ebe6
commit 8797ff6d9b
3 changed files with 2 additions and 14 deletions

View file

@ -1,9 +0,0 @@
case os:getenv("JSX_NOMAPS") or proplists:get_value(jsx_nomaps, CONFIG, false) of
false ->
try file:script("config/maps") of
{ok, true} -> [{erl_opts, [{d, maps_support}]}] ++ CONFIG;
_ -> CONFIG
catch _:_ -> CONFIG
end;
_ -> CONFIG
end.