aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-08-20 13:53:31 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-08-20 13:53:31 -0700
commita0c1f8c193e4d5c318f04b886c52bc3e8ab06980 (patch)
tree4ba17e3ef65aa14d921318e1022d934985a643f5
parent1a1f30803f01bc2b1defcf7ec9ae038e995be884 (diff)
todo comment on TextDecoder
-rw-r--r--src/preamble.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/preamble.js b/src/preamble.js
index 0f3f52c9..4cae05a6 100644
--- a/src/preamble.js
+++ b/src/preamble.js
@@ -524,6 +524,7 @@ function allocate(slab, types, allocator, ptr) {
Module['allocate'] = allocate;
function Pointer_stringify(ptr, /* optional */ length) {
+ // TODO: use TextDecoder
// Find the length, and check for UTF while doing so
var hasUtf = false;
var t;