Ivo Roefs
Ivo Roefs
Using Object.freeze() might be a solution?
The tested objects were serialised too soon. (#asPhxJsonString was already sent in the instantiation block). As a result, the objects tested were all strings, instead of the different object types...
Issue1: ``` WebBrowser class>>#openInBackgroundUrl: ^ self openBrowser: nil on: anURLString inBackground: true ``` deeper in, a browser name is required to enable background opening of browsers. Issue2: Even when a...
`PjAppFolderNameIncludesSpaceTest>>#testConnectionEstablished` is the only failing test. Because there are spaces in the folder name, I assume. However, there's another hidden problem! (on my system at least) Everytime a webbrowser is...
I'm not sure it is indeed a bug, but I noticed following behaviour which I can't explain. Folowing doesn't work: d3 select: '#myElementSelector' Whereas following does work: d3 select value:...
``` IceTipDiffPanel>>#initializeDiffPanel diffPanel showOptions: true ``` ``` IceTipDiffPanel>>#selectionChanged | itemValue | itemValue := iceNodesTree selectedItem value. itemValue ifNotNil: [ diffPanel contextClass: itemValue contextClass. self diffContentsLeft: itemValue rightContents right: itemValue leftContents...
``` smalltalk test_true_is_string | var1 var2 | var1 := true. var2 := #Person. self assert: [ var1 = var2 ifFalse: [ #notEqual ] ifTrue: [ #equal ] ] evaluatesTo: #notEqual...
Not available at time of writing => http://car.mines-douai.fr/wp-content/uploads/2015/07/pharoJsLogo2015-07-14.png Possible solution: ``` Smalltalk whenJsReady: aBlock "The subscription to the load event is done in JS code only to allow running applications...
Following test method demostrates the problem: ```Smalltalk PjInfrastructureTest>>testGetterDoesNotInstallSetter self assert: (self bridge evalBlock: [ | o | o := Object new. o at: 'someProp' put: nil. o someProp. "this makes...
I think current implementation nog longer works, since methods are now "real" functions/methods. Following seems to work for me: ```Smalltalk hasClassMethod_jsGenerator: transpiler ^ 'return typeof this[Smalltalk.' , transpiler pharoJsSelectorPrefix ,...