Re: static and declare before use
Adam Megacz <[email protected]>
| Newsgroups | gmane.comp.java.xwt.core |
|---|---|
| Organization | XWT |
| Message-ID | <[email protected]> |
That sounds good to me. - a "Brian Alliet" <[email protected]> writes: > Charles Goodwin wrote: > > On Mon, 2004-03-01 at 10:59, Adam Megacz wrote: > >> I see your point. I think 'this' would be a bad idea since that word > >> has a special meaning in ECMAScript. Do you have another suggestion? > > > > Hmm I would say 'static.varname' but then it gives the static keyword > > two separate meanings. > > Not really. How about we just create a JS object for each template and stick > it in the static script's scope as "static" and in <ui:box> scope as > "static". In each case static point to the same object so it has the same > meaning in both cases cases. > > -Brian > > > _______________________________________________ > core mailing list > [email protected] > http://lists.xwt.org/listinfo/core > -- "It's lucky," he added, after a pause, "that there are such a lot of islands in the world. I almost envy you, Mr. Watson." -- Mustapha Mond