[Seaside] Someone explain please the following syntax that appear as illustration of jQuery

Cédrick Béler cdrick65 at gmail.com
Thu Jan 20 09:47:04 UTC 2011



> On 12/21/2010 08:14 PM, Tony Fleig wrote:
>> Using Tools/Message Names, I found Script defined<<  like this:
>> 
>> <<  anObject
>> 	^ self add: anObject
>> 
>> I was confused by this too. I think its simply a synonym for Script>>#add:.
>> 
>> TF
> 
> Since you already know the message name, you can just highlight << and hit the implementors button in the browser or the hot-keys alt+m to get to that much faster than launching a new tool; for anyone who doesn't know this.  Message names is more useful for searching for unknown selectors that kinda look like something,
> 

ALT+shift+w  is the very useful shortcut for this one (searching message containing what's selected).

Cheers,


> but is a rather indirect method of viewing the implementation of a known selector.

> -- 
> Ramon Leon
> http://onsmalltalk.com
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110120/ec4030b7/attachment.htm


More information about the seaside mailing list