Hi Pierce 2017-06-25 13:07 GMT+02:00 Pierce Ng <pierce@samadhiweb.com>:
Just tried loading PharoJS with this snippet:
Gofer it smalltalkhubUser: 'noury' project: 'PharoJS'; configuration; loadStable
Loaded cleanly on a fresh 32-bit Pharo-50772 image. Ran almost half the tests during which it created/deleted tabs on my open Chromium browser repeatedly. Then the tests started a new instance of my default browser (which happens to be Midori) and here seemingly the web socket stuff didn't work so well, so I aborted the tests, but this I attribute to Midori not PharoJS.
On a fresh 64-bit Pharo-60501 image, while loading PharoJSBridge-NouryBouraqadi-120, error encountered:
SyntaxError: Variable or expression expected Object as yet unclassified makeInspect
makeInspect. Variable or expression expected-><javascript: 'blah blah blah blah }'>
I think the problem is the '.' dot after the selector name. This is not valid code for a method definition. I think this was an error on this parser to allow the code in the first place. Now we "fixed" the parser to indicate this as an error. Of course it would be good to replace / fix the method definition right on this debugger window, and move on with loading th code. But I am afraid this does not work. So, someone (with an older Pharo version where this code gets compiled) need to load the package and fix the method
Closing the error alert box brought up a debugger at RBParser>>parserError:.
Any idea what to fix, anyone?
Pierce