Permalink
Browse files

correcting white-space: Firefox does not like it

  • Loading branch information...
1 parent 4843664 commit ce7a998ba8435c32a92b9545531882f1cba4c6fa Danny Yoo committed Mar 22, 2012
Showing with 1 addition and 2 deletions.
  1. +0 −1 examples/google-maps/test-maps.rkt
  2. +1 −1 js-assembler/runtime-src/baselib-format.js
@@ -21,7 +21,6 @@
-
(xexp->dom '(h1 "Google Maps demonstration"))
(big-bang "???"
@@ -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 {

0 comments on commit ce7a998

Please sign in to comment.