Skip to content

Commit dd37c4e

Browse files
committed
style(emscripten): it is called emterpreter not empterpreter
1 parent 9159d78 commit dd37c4e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

libsass/Makefile.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
+ -s ALLOW_MEMORY_GROWTH=1 \
1414
+ -s EMTERPRETIFY=1 \
1515
+ -s EMTERPRETIFY_ASYNC=1 \
16-
+ -s EMTERPRETIFY_WHITELIST=@../empterpreter_whitelist.json \
16+
+ -s EMTERPRETIFY_WHITELIST=@../emterpreter_whitelist.json \
1717
+ --memory-init-file 0
1818
+
1919
+js-debug: static
@@ -25,7 +25,7 @@
2525
+ -s ALLOW_MEMORY_GROWTH=1 \
2626
+ -s EMTERPRETIFY=1 \
2727
+ -s EMTERPRETIFY_ASYNC=1 \
28-
+ -s EMTERPRETIFY_WHITELIST=@../empterpreter_whitelist.json \
28+
+ -s EMTERPRETIFY_WHITELIST=@../emterpreter_whitelist.json \
2929
+ -s ASSERTIONS=1 \
3030
+ -s SAFE_HEAP=1 \
3131
+ -s DEMANGLE_SUPPORT=1 \

libsass/emscripten_wrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ void sass_compile_emscripten(
8181
}
8282

8383
// returning data to JS via callback rather than regular function return value and C pointer fun,
84-
// because emscripten does not inform JavaScript when an (empterpreter) async function is done.
84+
// because emscripten does not inform JavaScript when an (emterpreter) async function is done.
8585
// Since (char *) is a pointer (int) we can abuse EM_ASM_INT() to pass that back to JavaScript.
8686
// NOTE: Because we're performing tasks *after* we informed the JavaScript of success/error,
8787
// we need to make sure that those callbacks don't mess with the stack or prematurely
File renamed without changes.

0 commit comments

Comments
 (0)