diff --git a/examples/google-maps/test-maps.rkt b/examples/google-maps/test-maps.rkt index caf0dee..f2e413e 100644 --- a/examples/google-maps/test-maps.rkt +++ b/examples/google-maps/test-maps.rkt @@ -21,7 +21,6 @@ - (xexp->dom '(h1 "Google Maps demonstration")) (big-bang "???" diff --git a/js-assembler/runtime-src/baselib-format.js b/js-assembler/runtime-src/baselib-format.js index 350b9fd..f9f91d9 100644 --- a/js-assembler/runtime-src/baselib-format.js +++ b/js-assembler/runtime-src/baselib-format.js @@ -389,7 +389,7 @@ if (typeof(x) === 'string') { var wrapper = document.createElement("span"); - wrapper.style["white-space"] = "pre"; + wrapper.style.whiteSpace = "pre"; if (params.getMode() === 'write' || params.getMode() === 'print' || params.getMode() === 'constructor') { node = document.createTextNode(toWrittenString(x)); } else {