I've attached a version that I have cleaned up and commented with
possible changes.

I'd also suggest that the setStyle() method be changed to an ext/layer.js
method as I'm still to see any code that uses it.

Robert Rainwater wrote:

> Actually, the else is not even needed since the the if above returns.
> Thanks for noticing that, I will update cvs soon.
>
> --
> // Robert Rainwater
>
> --
> DynAPI Homepage: http://dynapi.sourceforge.net/
> DynAPI Snapshots: http://dynapi.sourceforge.net/snapshot/
>
> On Monday, February 26, 2001 7:31:24 AM Michael Pemberton wrote:
> > there is a minor syntax glitch in the setClip() method.
> >     else {
> >         if (c.indexOf("rect(")>-1) {
> >             .....
> >         }
> >     }
> > should be:
> >     else if (c.indexOf("rect(")>-1) {
> >         .....
> >     }
> >
> > --
> > Michael Pemberton
> > [EMAIL PROTECTED]
> > ICQ: 12107010
> >
> >
> >
> >
> >
> > _______________________________________________
> > Dynapi-Dev mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/dynapi-dev
>
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev

--
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010

layer.zip

Reply via email to