y-lohse / inkjs

A javascript port of inkle's ink scripting language.
http://www.inklestudios.com/ink/
MIT License
507 stars 104 forks source link

Fix imports and add docblocks #1052

Closed maetl closed 7 months ago

maetl commented 7 months ago

Description

Fixes a problem introduced in #1049 where the relative imports changed to suit standalone references to these files on disk—but overlooked that the tsconfig had src already mapped.

Checklist

smwhr commented 7 months ago

I was wondering why those imports were changed indeed in your last PR but did not take the time to check.

It seems the namespace is now Capitalized, whereas is was all lowercase before. It's important for js includes.

maetl commented 7 months ago

It seems the namespace is now Capitalized, whereas is was all lowercase before. It's important for js includes.

Fixed now. Thanks for explaining.