Hello!
I've summarized my journey into Morphic (morphic.js) on Amber a little. It is meant to be extracted in Amber's ../examples folder. It's not much yet. It draws a welcome message and adds a button for opening the Smalltalk Browser. But it shows how to jump off JavaScript into Smalltalk. You can download it from: http://tcltalk.ath.cx/files/morphicAmber.zip and http://tcltalk.ath.cx/files/morphicAmber.md5 - for validity Cheers... |
Hi,
I tried to extract it on Windows but I get a naming error for Morphic.js and morphic.js. They both seem to exist.
2012/2/7 Tom <[hidden email]> Hello! |
On Tue, Feb 7, 2012 at 12:43 PM, Ron Dobbelstein
<[hidden email]> wrote: > Hi, > > I tried to extract it on Windows but I get a naming error for Morphic.js and > morphic.js. They both seem to exist. > It seems you've been hit by Windows' case insensitiveness. > > 2012/2/7 Tom <[hidden email]> >> >> Hello! >> >> I've summarized my journey into Morphic (morphic.js) on Amber a >> little. It is meant to be extracted in Amber's ../examples folder. >> It's not much yet. It draws a welcome message and adds a button for >> opening the Smalltalk Browser. But it shows how to jump off JavaScript >> into Smalltalk. You can download it from: >> >> http://tcltalk.ath.cx/files/morphicAmber.zip >> >> and >> >> http://tcltalk.ath.cx/files/morphicAmber.md5 - for validity >> >> Cheers... > > -- "when mccarthy invented lisp 50 years ago, he was at least 60 years ahead of his time." -- Kent Beck blog -> http://puntoblogspot.blogspot.com |
In reply to this post by Rodo
Hi!
I'm sorry for that. I moved the morphic.js sources to another folder to avoid this conflict. Fell free to download the zip file again. Cheers... On 7 Feb., 12:43, Ron Dobbelstein <[hidden email]> wrote: > Hi, > > I tried to extract it on Windows but I get a naming error for Morphic.js > and morphic.js. They both seem to exist. > > 2012/2/7 Tom <[hidden email]> > > > > > > > > > Hello! > > > I've summarized my journey into Morphic (morphic.js) on Amber a > > little. It is meant to be extracted in Amber's ../examples folder. > > It's not much yet. It draws a welcome message and adds a button for > > opening the Smalltalk Browser. But it shows how to jump off JavaScript > > into Smalltalk. You can download it from: > > >http://tcltalk.ath.cx/files/morphicAmber.zip > > > and > > >http://tcltalk.ath.cx/files/morphicAmber.md5- for validity > > > Cheers... |
Ooops! he prefix parameter of loadAmber in index.html ist still hard
coded to my decelopment environment. It should read like: loadAmber({ files: ['Kernel-Objects.js','Morphic.js'], prefix: 'examples/morphic/js', ready: function() { $(function () { smalltalk.Welcome._open(); // smalltalk.Browser._open(); }); } }); I have updated the zip file to download. http://tcltalk.ath.cx/files/morphicAmber.zip On 7 Feb., 13:48, Tom <[hidden email]> wrote: > Hi! > > I'm sorry for that. I moved the morphic.js sources to another folder > to avoid this conflict. Fell free to download the zip file again. > > Cheers... > > On 7 Feb., 12:43, Ron Dobbelstein <[hidden email]> wrote: > > > > > > > > > Hi, > > > I tried to extract it on Windows but I get a naming error for Morphic.js > > and morphic.js. They both seem to exist. > > > 2012/2/7 Tom <[hidden email]> > > > > Hello! > > > > I've summarized my journey into Morphic (morphic.js) on Amber a > > > little. It is meant to be extracted in Amber's ../examples folder. > > > It's not much yet. It draws a welcome message and adds a button for > > > opening the Smalltalk Browser. But it shows how to jump off JavaScript > > > into Smalltalk. You can download it from: > > > >http://tcltalk.ath.cx/files/morphicAmber.zip > > > > and > > > >http://tcltalk.ath.cx/files/morphicAmber.md5-for validity > > > > Cheers... |
Hello Tom
I took your latest download on Windows did the following 1) copy the files in your js folder to the js folder of my amber setup 2) copy the files in your st folder into the st folder of my amber setup 3) copied your morphic.js folder into my 'examples' folder 4) renamed you index.html file to indexM.html and copied it into my amber setup on the same level as index.html and learn.html. However it did not work. This was done on Windows. Would it be possible to post a zip file which includes everything and works right out of the box? Kind regards Hannes On 2/7/12, Tom <[hidden email]> wrote: > Ooops! he prefix parameter of loadAmber in index.html ist still hard > coded to my decelopment environment. > > It should read like: > > loadAmber({ > files: ['Kernel-Objects.js','Morphic.js'], > prefix: 'examples/morphic/js', > ready: function() { > $(function () { > smalltalk.Welcome._open(); > // smalltalk.Browser._open(); > }); > } > }); > > I have updated the zip file to download. > > http://tcltalk.ath.cx/files/morphicAmber.zip > > > On 7 Feb., 13:48, Tom <[hidden email]> wrote: >> Hi! >> >> I'm sorry for that. I moved the morphic.js sources to another folder >> to avoid this conflict. Fell free to download the zip file again. >> >> Cheers... >> >> On 7 Feb., 12:43, Ron Dobbelstein <[hidden email]> wrote: >> >> >> >> >> >> >> >> > Hi, >> >> > I tried to extract it on Windows but I get a naming error for Morphic.js >> > and morphic.js. They both seem to exist. >> >> > 2012/2/7 Tom <[hidden email]> >> >> > > Hello! >> >> > > I've summarized my journey into Morphic (morphic.js) on Amber a >> > > little. It is meant to be extracted in Amber's ../examples folder. >> > > It's not much yet. It draws a welcome message and adds a button for >> > > opening the Smalltalk Browser. But it shows how to jump off JavaScript >> > > into Smalltalk. You can download it from: >> >> > >http://tcltalk.ath.cx/files/morphicAmber.zip >> >> > > and >> >> > >http://tcltalk.ath.cx/files/morphicAmber.md5-for validity >> >> > > Cheers... > |
Hello Hannes!
If you do not expand the zip archive into the examples folder of Amber, then you have to update the script paths in index.html. Regards On 7 Feb., 16:12, "H. Hirzel" <[hidden email]> wrote: > Hello Tom > > I took your latest download on Windows did the following > > 1) copy the files in your js folder to the js folder of my amber setup > 2) copy the files in your st folder into the st folder of my amber setup > 3) copied your morphic.js folder into my 'examples' folder > 4) renamed you index.html file to indexM.html and copied it into my > amber setup on the same level as index.html and learn.html. > > However it did not work. This was done on Windows. > > Would it be possible to post a zip file which includes everything and > works right out of the box? > > Kind regards > Hannes > > On 2/7/12, Tom <[hidden email]> wrote: > > > > > > > > > Ooops! he prefix parameter of loadAmber in index.html ist still hard > > coded to my decelopment environment. > > > It should read like: > > > loadAmber({ > > files: ['Kernel-Objects.js','Morphic.js'], > > prefix: 'examples/morphic/js', > > ready: function() { > > $(function () { > > smalltalk.Welcome._open(); > > // smalltalk.Browser._open(); > > }); > > } > > }); > > > I have updated the zip file to download. > > >http://tcltalk.ath.cx/files/morphicAmber.zip > > > On 7 Feb., 13:48, Tom <[hidden email]> wrote: > >> Hi! > > >> I'm sorry for that. I moved the morphic.js sources to another folder > >> to avoid this conflict. Fell free to download the zip file again. > > >> Cheers... > > >> On 7 Feb., 12:43, Ron Dobbelstein <[hidden email]> wrote: > > >> > Hi, > > >> > I tried to extract it on Windows but I get a naming error for Morphic.js > >> > and morphic.js. They both seem to exist. > > >> > 2012/2/7 Tom <[hidden email]> > > >> > > Hello! > > >> > > I've summarized my journey into Morphic (morphic.js) on Amber a > >> > > little. It is meant to be extracted in Amber's ../examples folder. > >> > > It's not much yet. It draws a welcome message and adds a button for > >> > > opening the Smalltalk Browser. But it shows how to jump off JavaScript > >> > > into Smalltalk. You can download it from: > > >> > >http://tcltalk.ath.cx/files/morphicAmber.zip > > >> > > and > > >> > >http://tcltalk.ath.cx/files/morphicAmber.md5-forvalidity > > >> > > Cheers... |
Thank you Tom,
for your instructions. I expanded the zip file from http://tcltalk.ath.cx/files/morphicAmber.zip and put the 'morphic' folder it contained into the 'examples' folder in the Amber installation. Then double clicking on 'index.html' in the morphic folder worked fine. Hannes P.S. and here http://chirp.scratchr.org/dl/experimental/JsMorphic/morphic.txt I found the documentation to it (going through http://www.chirp.scratchr.org/blog/ ) On 2/7/12, Tom <[hidden email]> wrote: > Hello Hannes! > > If you do not expand the zip archive into the examples folder of > Amber, then you have to update the script paths in index.html. > > Regards > > On 7 Feb., 16:12, "H. Hirzel" <[hidden email]> wrote: >> Hello Tom >> >> I took your latest download on Windows did the following >> >> 1) copy the files in your js folder to the js folder of my amber setup >> 2) copy the files in your st folder into the st folder of my amber setup >> 3) copied your morphic.js folder into my 'examples' folder >> 4) renamed you index.html file to indexM.html and copied it into my >> amber setup on the same level as index.html and learn.html. >> >> However it did not work. This was done on Windows. >> >> Would it be possible to post a zip file which includes everything and >> works right out of the box? >> >> Kind regards >> Hannes >> >> On 2/7/12, Tom <[hidden email]> wrote: >> >> >> >> >> >> >> >> > Ooops! he prefix parameter of loadAmber in index.html ist still hard >> > coded to my decelopment environment. >> >> > It should read like: >> >> > loadAmber({ >> > files: ['Kernel-Objects.js','Morphic.js'], >> > prefix: 'examples/morphic/js', >> > ready: function() { >> > $(function () { >> > smalltalk.Welcome._open(); >> > // smalltalk.Browser._open(); >> > }); >> > } >> > }); >> >> > I have updated the zip file to download. >> >> >http://tcltalk.ath.cx/files/morphicAmber.zip >> >> > On 7 Feb., 13:48, Tom <[hidden email]> wrote: >> >> Hi! >> >> >> I'm sorry for that. I moved the morphic.js sources to another folder >> >> to avoid this conflict. Fell free to download the zip file again. >> >> >> Cheers... >> >> >> On 7 Feb., 12:43, Ron Dobbelstein <[hidden email]> wrote: >> >> >> > Hi, >> >> >> > I tried to extract it on Windows but I get a naming error for >> >> > Morphic.js >> >> > and morphic.js. They both seem to exist. >> >> >> > 2012/2/7 Tom <[hidden email]> >> >> >> > > Hello! >> >> >> > > I've summarized my journey into Morphic (morphic.js) on Amber a >> >> > > little. It is meant to be extracted in Amber's ../examples folder. >> >> > > It's not much yet. It draws a welcome message and adds a button for >> >> > > opening the Smalltalk Browser. But it shows how to jump off >> >> > > JavaScript >> >> > > into Smalltalk. You can download it from: >> >> >> > >http://tcltalk.ath.cx/files/morphicAmber.zip >> >> >> > > and >> >> >> > >http://tcltalk.ath.cx/files/morphicAmber.md5-forvalidity >> >> >> > > Cheers... > |
Hi again.
My class hierarchy of MophicWorld was bad Smalltalk and not suitable for the purpose of a complete example. I refactored this a little to better reflect inheritance and polymorphism and updated... http://tcltalk.ath.cx/files/morphicAmber.zip Regards... On 7 Feb., 18:12, "H. Hirzel" <[hidden email]> wrote: > Thank you Tom, > > for your instructions. > I expanded the zip file fromhttp://tcltalk.ath.cx/files/morphicAmber.zipand put the 'morphic' > folder it contained into the 'examples' folder in the Amber > installation. > > Then double clicking on 'index.html' in the morphic folder worked fine. > > Hannes > > P.S. and herehttp://chirp.scratchr.org/dl/experimental/JsMorphic/morphic.txt > I found the documentation to it > (going throughhttp://www.chirp.scratchr.org/blog/) > > On 2/7/12, Tom <[hidden email]> wrote: > > > > > > > > > Hello Hannes! > > > If you do not expand the zip archive into the examples folder of > > Amber, then you have to update the script paths in index.html. > > > Regards > > > On 7 Feb., 16:12, "H. Hirzel" <[hidden email]> wrote: > >> Hello Tom > > >> I took your latest download on Windows did the following > > >> 1) copy the files in your js folder to the js folder of my amber setup > >> 2) copy the files in your st folder into the st folder of my amber setup > >> 3) copied your morphic.js folder into my 'examples' folder > >> 4) renamed you index.html file to indexM.html and copied it into my > >> amber setup on the same level as index.html and learn.html. > > >> However it did not work. This was done on Windows. > > >> Would it be possible to post a zip file which includes everything and > >> works right out of the box? > > >> Kind regards > >> Hannes > > >> On 2/7/12, Tom <[hidden email]> wrote: > > >> > Ooops! he prefix parameter of loadAmber in index.html ist still hard > >> > coded to my decelopment environment. > > >> > It should read like: > > >> > loadAmber({ > >> > files: ['Kernel-Objects.js','Morphic.js'], > >> > prefix: 'examples/morphic/js', > >> > ready: function() { > >> > $(function () { > >> > smalltalk.Welcome._open(); > >> > // smalltalk.Browser._open(); > >> > }); > >> > } > >> > }); > > >> > I have updated the zip file to download. > > >> >http://tcltalk.ath.cx/files/morphicAmber.zip > > >> > On 7 Feb., 13:48, Tom <[hidden email]> wrote: > >> >> Hi! > > >> >> I'm sorry for that. I moved the morphic.js sources to another folder > >> >> to avoid this conflict. Fell free to download the zip file again. > > >> >> Cheers... > > >> >> On 7 Feb., 12:43, Ron Dobbelstein <[hidden email]> wrote: > > >> >> > Hi, > > >> >> > I tried to extract it on Windows but I get a naming error for > >> >> > Morphic.js > >> >> > and morphic.js. They both seem to exist. > > >> >> > 2012/2/7 Tom <[hidden email]> > > >> >> > > Hello! > > >> >> > > I've summarized my journey into Morphic (morphic.js) on Amber a > >> >> > > little. It is meant to be extracted in Amber's ../examples folder. > >> >> > > It's not much yet. It draws a welcome message and adds a button for > >> >> > > opening the Smalltalk Browser. But it shows how to jump off > >> >> > > JavaScript > >> >> > > into Smalltalk. You can download it from: > > >> >> > >http://tcltalk.ath.cx/files/morphicAmber.zip > > >> >> > > and > > >> >> > >http://tcltalk.ath.cx/files/morphicAmber.md5-forvalidity > > >> >> > > Cheers... |
Free forum by Nabble | Edit this page |