[lively-kernel] Script tagging for Lively's object editor

Lauritz Thamsen l.thamsen at googlemail.com
Tue Nov 29 04:54:28 CET 2011


Hi Jens.

Thanks for the feedback - I renamed the method to .tag([]) instead of categorize([]).

Best,
Lauritz

On Nov 28, 2011, at 1:00 PM, Jens Lincke wrote:

> Hi, Lauritz
> 
> why not generalize it and call the function "tag"?
> 
> Best,
> Jens
> 
> Am 28.11.2011 um 20:51 schrieb Lauritz Thamsen:
> 
>> Hi.
>> 
>> We added script tagging to our Object Editor (Script Editor).
>> 
>> A script might be in several categories at the same time, so we allow multiple tags. Further, we don't want the editor to have as many UI elements as our System Code Browser. Therefore, we tag scripts like they are added. Programmatically in the editor's script pane: 
>> 
>> 	this.addScript(function example() {
>> 		alertOK('hello');
>> 	}).categorize(['example', 'public']);
>> 
>> Any feedback or comments? :-)
>> 
>> Best,
>> Lauritz
>> _______________________________________________
>> lively-kernel mailing list
>> lively-kernel at hpi.uni-potsdam.de
>> http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel
> 
> _______________________________________________
> lively-kernel mailing list
> lively-kernel at hpi.uni-potsdam.de
> http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hpi.uni-potsdam.de/archive/lively-kernel/attachments/20111128/3b55ed78/attachment.html>


More information about the lively-kernel mailing list