Diego Gomez Deck
DiegoGomezDeck at consultar.com
Thu Aug 3 09:48:03 UTC 2006
> To do that, ST2JS uses a similar approach that SLang>>C translator. You
> can insert conditionals statements in this way:
> jsLiteral: '/* plain JS code */'
> inSmalltalk: [ "Smalltalk code" ].
> Of course you can put this type of statements only in "base" classes.
Oops, my english level is awful :-(
I wanted to say that is "convenient" to put this type of statements only
in "base" classes, to hide the complexity in "user" classes.
The framework allows to use this feature in any class, not only in
extensions to base classes.
More information about the Squeak-dev