Skip to content

Commit

Permalink
Fix for press being broken.
Browse files Browse the repository at this point in the history
[cappuccino#143 state:resolved]

Reviewed by tolmasky.
  • Loading branch information
Tom Robinson authored and Francisco Ryan Tolmasky I committed Nov 21, 2008
1 parent f3dcfba commit 5d8cea9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Objective-J/constants.js
Expand Up @@ -106,9 +106,8 @@ function objj_printf(string)
}

#if RHINO
importPackage(java.lang);

warning_stream = function (aString) { System.out.println(aString) };
warning_stream = function (aString) { Packages.java.System.out.println(aString) };

#else
if (window.console && window.console.warn)
Expand Down

0 comments on commit 5d8cea9

Please sign in to comment.