Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / pas2js / 2022-08

htmlwidget in pas2j 2.2.0: pas.JS.isUndefined is not a function (fwd)

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt

I replied in private by accident.

So I'm forwarding my answer in case someone else meets this case...

Michael.

---------- Forwarded message ----------
Date: Tue, 30 Aug 2022 12:47:29 +0200 (CEST)
From: Michael Van Canneyt
To: Luca Olivetti
Subject: Re: [Pas2js] htmlwidget in pas2j 2.2.0: pas.JS.isUndefined is not a function

Luca Olivetti wrote 7 lines
El 29/8/22 a les 16:01, Luca Olivetti ha escrit: Hello, I don't know if it's because I'm not using fpc trunk, but I had to add Session.InitSession(ARequest, nil, nil)

That should be

   CheckSession(ARequest);

After CORS.HandleRequest(). This is fixed in trunk.

Michael.

Reply by email

Luca Olivetti
to Michael Van Canneyt

El 30/8/22 a les 13:23, Michael Van Canneyt ha escrit:

I replied in private by accident.

Not an accident: it was a reply to my reply to your private message with the source I requested (but I'm glad to continue on the list since I'd like to know...

After CORS.HandleRequest(). This is fixed in trunk.

...if the sources of the project are in a repository somewhere)

Bye

Luca

Reply by email