Re: [Jprogramming] How can I auto-refresh a JHS app page?

2017-09-06 Thread gmj
Thanks to Ian and Eric for an interesting question and direction. Following Eric's lead I found (in all but Safari) a built-in object BroadcastChannel which is what it claims to be. The following 2 scripts illustrate its use in the jhs context to perform what Ian requested. Perhaps there are 'polyf

Re: [Jprogramming] gl2.ijs and object constructor

2017-09-06 Thread bill lam
gl2 addon is no longer needed in j806, it is kept there for back compatibility. If any code actually depends on it, it must be something wrong. On Sep 6, 2017 4:38 PM, "'Jon Hough' via Programming" < programm...@jsoftware.com> wrote: I was browsing the OpenGL addon, gl2.ijs, and in the first few

[Jprogramming] gl2.ijs and object constructor

2017-09-06 Thread 'Jon Hough' via Programming
I was browsing the OpenGL addon, gl2.ijs, and in the first few lines is this: coclass 'jgl2' create=: destroy=: [: What does this do? And what is it achieving, and why is it desired? It seems to prevent object instantiation: A=: '' conew 'jgl2' NB. error But what is the benefit of