[bug][fix][fix?] scamper initialization code

Lex Spoon lex at cc.gatech.edu
Mon Jul 31 11:55:31 UTC 2000


mdr at scn.org (mike rutenberg) wrote:
> 
> --==CelesteAttachment16440==
> Content-Type: text/plain; charset="us-ascii"
> 
> Scamper initialize sets 
> 	currentUrl _ ''.
> 
> If you open a Scamper and then quickly choose "new URL" from the menu,
> jumpToNewUrl evaluates 
> 	currentUrl toText
> where toText is not understood by the string.
> 
> Attached is a proposed fix.  Scamper experts: is this right?
> 

(Much belatedly) Looks good to me.  Note you can do just ['' asUrl]
instead of [Url absoluteFromText: ''], but who cares.


-Lex





More information about the Squeak-dev mailing list