Skip to content

Commit

Permalink
correcting white-space: Firefox does not like it
Browse files Browse the repository at this point in the history
  • Loading branch information
Danny Yoo committed Mar 22, 2012
1 parent 4843664 commit ce7a998
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion examples/google-maps/test-maps.rkt
Expand Up @@ -21,7 +21,6 @@







(xexp->dom '(h1 "Google Maps demonstration")) (xexp->dom '(h1 "Google Maps demonstration"))


(big-bang "???" (big-bang "???"
Expand Down
2 changes: 1 addition & 1 deletion js-assembler/runtime-src/baselib-format.js
Expand Up @@ -389,7 +389,7 @@


if (typeof(x) === 'string') { if (typeof(x) === 'string') {
var wrapper = document.createElement("span"); var wrapper = document.createElement("span");
wrapper.style["white-space"] = "pre"; wrapper.style.whiteSpace = "pre";
if (params.getMode() === 'write' || params.getMode() === 'print' || params.getMode() === 'constructor') { if (params.getMode() === 'write' || params.getMode() === 'print' || params.getMode() === 'constructor') {
node = document.createTextNode(toWrittenString(x)); node = document.createTextNode(toWrittenString(x));
} else { } else {
Expand Down

0 comments on commit ce7a998

Please sign in to comment.