Thanx Torsten for the fix.
I integrated it :-)

Noury
> On 15 Jul 2015, at 12:42, Torsten Bergmann <asta...@gmx.de> wrote:
> 
> Hi Noury,
>  
> thanks for the feedback. For windows to open a URL one can use:
>  
>   NBWin32Shell shellOpen: 'http://www.google.de'
>  
> I adopted the 
>  
>   startJavaScriptInterpreter
>    |url|
>     url := 'http://localhost:', self port asString.
>     Smalltalk os isWindows ifTrue: [ ^NBWin32Shell shellOpen: url ].
>     OSProcess command: 'open ', url
>  
> and run 
> 
>     workspace := JbWorkspaceForWeb open.
>  
> It basically runs (still throwing some Zinc errors - but I can push some eval 
> scripts to the browser
> (Chrome). No time today to look deeper today.
>  
> Please add me as a contributor so I can provide the fix/fixes or make the 
> repo public (if possible).
>  
> Thanks
> T.
>  
>  
> Gesendet: Mittwoch, 15. Juli 2015 um 12:19 Uhr
> Von: "Noury Bouraqadi" <bouraq...@gmail.com>
> An: "Torsten Bergmann" <asta...@gmx.de>
> Cc: "Pharo users users" <pharo-users@lists.pharo.org>
> Betreff: Re: PharoJS
> Hi Torsten,
>  
> Thanks for the feedback. 
> I have been pushed to make it public right before ESUG. 
> I'm trying my best to make it clean and documented. 
>  
> If you are using a Mac, the examples I provide on 
> http://car.mines-douai.fr/pharojs/ <http://car.mines-douai.fr/pharojs/> 
> should work out of the box.
>  
> For other platforms (Windows & Linux) I need the command line to open a web 
> browser on a specific URL.
> Any hint?
>  
> Regarding the naming PharoJS is more than a bridge. It allows:
> -Develop and test apps in Pharo
> -Generate a javascript file for a standalone app
>  
> Noury
>  
> On 15 Jul 2015, at 11:28, Torsten Bergmann <asta...@gmx.de 
> <x-msg://8/asta...@gmx.de>> wrote:
>  
> Clément Bera wrote:
>  
> What is PharoJS ? Are you talking about Pharo on top of the Bert's SqueakJS 
> VM ?
> If so, it starts, but some primitives fail making it freeze after a short
> while as you describe.
> It would be fun to have it running even though most of the Pharo folks went
> into the Amber direction for Pharo on Javascript.
> 
> Yes there is SqueakJS from Bert https://bertfreudenberg.github.io/SqueakJS/ 
> <https://bertfreudenberg.github.io/SqueakJS/>
> and I would have expected "PharoJS" to be the same for Pharo.
> 
> At least I would "reserve" the name for the case Pharo images work on it
> as well.
> 
> 
> Unfortunately Noury Bouraqadi now took this "PharoJS" name for his
> Pharo -> JavaScript compiler
> 
>   http://car.mines-douai.fr/2015/07/develop-in-pharo-run-on-javascript/ 
> <http://car.mines-douai.fr/2015/07/develop-in-pharo-run-on-javascript/>
> 
> leading a little bit to this confusion.
> 
> I would have called the project "Pharo JavaScriptBridge" like the config and 
> the
> repo http://smalltalkhub.com/#!/~noury/JavaScriptBridge 
> <http://smalltalkhub.com/#!/~noury/JavaScriptBridge>
> 
> I loaded the config from the SmalltalkHub repo and then:
> 
>   ConfigurationOfJavaScriptBridge loadBleedingEdge
> 
> tried JbClientControllerBridge startOn:80
> 
> but were hit by several errors.
> 
> In my opinion a minimal HOWTO would be required.
> 
> Thanks
> Torsten

Reply via email to