Webuilder 2020 Script.CreateScriptableJsExecuter()

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.

  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".

Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!

Webuilder 2020 Script.CreateScriptableJsExecuter()

Postby pmk65 » Fri Dec 27, 2019 5:21 am

I'm trying to load/execute a JavaScript using "Script.CreateScriptableJsExecuter()". Script is executed correctly, but fails with an error.
Uncaught SyntaxError: Unexpected token {

This is because the script contains a JavaScript "import" statement. The import statement cannot be used in embedded scripts unless such script has a type="module".

Is it possible to get "Script.CreateScriptableJsExecuter()" to run with type="module" ?
There are 10 types of people in the world: Those who understand binary and those who don't.
User avatar
pmk65
 
Posts: 668
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark

Re: Webuilder 2020 Script.CreateScriptableJsExecuter()

Postby Poonaam » Mon Jan 27, 2020 8:54 am

Hi!
Excellent information!!
Poonaam
 
Posts: 1
Joined: Mon Jan 27, 2020 8:51 am
Location: Delhi


Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron