From ca89c06ffe17cbdbd0db9e868c4476e3cd08c987 Mon Sep 17 00:00:00 2001 From: Romain Goyet Date: Sat, 21 Mar 2020 21:44:57 -0400 Subject: [PATCH] [build/emscripten] We now use the newer #canvas convention --- build/toolchain.emscripten.mak | 9 --------- 1 file changed, 9 deletions(-) diff --git a/build/toolchain.emscripten.mak b/build/toolchain.emscripten.mak index 1fb096fd0..1ba3119e0 100644 --- a/build/toolchain.emscripten.mak +++ b/build/toolchain.emscripten.mak @@ -118,15 +118,6 @@ endif # Configure EMFLAGS EMFLAGS += -s WASM=0 -# Since emcc 1.39.5, DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR is defautly -# to 1 which discards old looks up to find DOM elements. However SDL relies on -# the presence of a target "#canvas" that used to return the Module['canvas'] -# target but not anymore. It also expects the existence of Module['canvas']. -# Until we fix the DOM of the html calling epsilon module, we use the deprecated -# 'find_event_target'. -# TODO: fix DOM of htmls files that uses epsilon js module -EMFLAGS += -s DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR=0 - # Configure LDFLAGS EMSCRIPTEN_MODULARIZE ?= 1 LDFLAGS += -s MODULARIZE=$(EMSCRIPTEN_MODULARIZE) -s 'EXPORT_NAME="Epsilon"'