[Pas2js] Random bugs and observations

Michael Van Canneyt michael at freepascal.org
Fri May 11 10:25:31 CEST 2018



On Fri, 11 May 2018, Ryan Joseph wrote:

>
>
>> On May 11, 2018, at 2:23 PM, Michael Van Canneyt <michael at freepascal.org> wrote:
>> 
>> If no such property exists, you will get undefined.
>
> I don’t know where that text property came from then. It’s a <script> tag that it referenced and it works in Safari and Firefox. I just assumed the translation was wrong because it’s still in development.

Well, there you are then:

https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement

The script tag has a "text" property.

Michael.


More information about the Pas2js mailing list