AdobeDocs / uxp-indesign

https://developer.adobe.com/indesign/uxp/
Apache License 2.0
21 stars 13 forks source link

Error running Second Code Snippet Under "Adding features to our Hello World script" #33

Open Jakkeebler opened 1 year ago

Jakkeebler commented 1 year ago

Issue in /src/pages/guides/getting-started/index.md

Under "Adding features to our Hello World script" you say to "simply run the HelloWorld.jsx script again" when it is an .idjs you had created up above.

You then reference "Either open the ImprovedHelloWorld.jsx tutorial" after saying to save it as an .idjs below.

Finally running the second snippet returns an error: Screenshot 2023-02-01 at 11 59 46 AM

Jakkeebler commented 1 year ago

Actually looks like the error is a line missing from the first code snippet. Should have: myTextFrame.contents = "Hello World!"; as the last line of the code snippet.

hauke28 commented 1 year ago

Yes, there is a line break missing in line 10. (4 months later...)