> On 14 Dec 2015, at 17:43, Smaran Rneu <rneu2...@gmail.com> wrote:
> 
> Hello. I am trying to convert my Pharo (4.0) classes to Javascript.
> 
> I wrote a Pharo PBE-LightsOut application as book PBE.
> Initially converted LOCell and LoGame classes.
> Loaded these classes in a browser from an index.html and accused lack of 
> SimpleSwitchMorph, SimpleButtonMorph and BorderedMorph.
> 
> Command to convert:
> JbSmalltalkToJavaScriptExporter exportClasses: {BorderedMorph } packages: #() 
> inNewFileNamed: 'BorderedMorph.js'
> 
> Converting BorderedMorph this error occurs:
> MessageNotUndestood: WorldMorph >> javaScriptName
> 
Ok. This is a bug I wasn't aware of. Thanks for reporting it.
I'll have a look.

But, even if we fix it, don't expect morphs to work on JS.
PharoJS doesn't support graphic primitives... at least not in the near future 
:-)

Noury



Reply via email to