diff options
author | max99x <max99x@gmail.com> | 2011-08-28 19:18:47 +0300 |
---|---|---|
committer | max99x <max99x@gmail.com> | 2011-08-28 19:18:47 +0300 |
commit | 8d2a080af4b8e83f27b8ccb32a2ed945b80a6c68 (patch) | |
tree | c112d154f2f7f1ca7dc9fffb06798098fdf84283 /src/preamble.js | |
parent | a25b0e9ac1950252c310d0f220b82e28c84f8e6c (diff) |
Minor Closure Compiler compatibility fixes.
Diffstat (limited to 'src/preamble.js')
-rw-r--r-- | src/preamble.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/preamble.js b/src/preamble.js index 59389e58..9e0f5ce3 100644 --- a/src/preamble.js +++ b/src/preamble.js @@ -562,7 +562,7 @@ Module['String_copy'] = String_copy; // Tools if (typeof print === 'undefined') { - print = console.log; // we are on the web + this['print'] = console.log; // we are on the web } // This processes a JS string into a C-line array of numbers, 0-terminated. |