You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by hi...@apache.org on 2002/05/07 15:57:45 UTC

cvs commit: xml-batik/sources/org/apache/batik/script/rhino WindowWrapper.java

hillion     02/05/07 06:57:45

  Modified:    sources/org/apache/batik/script/rhino WindowWrapper.java
  Log:
  getURL() fix.
  
  Revision  Changes    Path
  1.8       +3 -5      xml-batik/sources/org/apache/batik/script/rhino/WindowWrapper.java
  
  Index: WindowWrapper.java
  ===================================================================
  RCS file: /home/cvs/xml-batik/sources/org/apache/batik/script/rhino/WindowWrapper.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- WindowWrapper.java	11 Apr 2002 16:51:36 -0000	1.7
  +++ WindowWrapper.java	7 May 2002 13:57:45 -0000	1.8
  @@ -32,7 +32,7 @@
    * This class wraps a Window object to expose it to the interpreter.
    *
    * @author <a href="mailto:stephane@hillion.org">Stephane Hillion</a>
  - * @version $Id: WindowWrapper.java,v 1.7 2002/04/11 16:51:36 hillion Exp $
  + * @version $Id: WindowWrapper.java,v 1.8 2002/05/07 13:57:45 hillion Exp $
    */
   public class WindowWrapper extends ScriptableObject {
   
  @@ -371,10 +371,8 @@
                                       (ScriptableObject)interpreter.evaluate
                                       (new StringReader("new Object()"));
                                   so.put("success", so,
  -                                       Context.toObject((success) ?
  -                                                        Boolean.TRUE :
  -                                                        Boolean.FALSE,
  -                                                        windowWrapper));
  +                                       (success) ?
  +                                       Boolean.TRUE : Boolean.FALSE);
                                   if (mime != null) {
                                       so.put("contentType", so,
                                              Context.toObject(mime,
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org