Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes to external function evaluation #53

Closed
wants to merge 1 commit into from

Conversation

joningold
Copy link
Contributor

A couple of lines required to fix external function evaluation seem to have fallen out of the latest version. (However, you'd better check that they really did get missed by mistake rather than being taken out deliberately!) And apologies, but I don't have a decent test case -- if I run my local js ink project, I get the "expected" results with these fixes, but not without.

A couple of lines required to fix external function evaluation seem to have fallen out of the latest version. (However, you'd better check that they really did get missed by mistake rather than being taken out deliberately!) And apologies, but I don't have a decent test case -- if I run my local js ink project, I get the "expected" results with these fixes, but not without.
@y-lohse y-lohse self-assigned this Mar 7, 2017
@erkyrath
Copy link

erkyrath commented Mar 7, 2017

Speaking of external functions... Lectrote has no way to load externals, and it never will (for security reasons). But fallback functions don't work. The engine throws:

Missing function binding for external: 'extfunc' (ink fallbacks disabled) StoryException

Am I supposed to directly set story.allowExternalFunctionFallbacks = true? After creating the story instance, I mean.

@joningold
Copy link
Contributor Author

joningold commented Mar 7, 2017 via email

@y-lohse
Copy link
Owner

y-lohse commented Mar 8, 2017

Thank you! I've merged it into the dev branch, release to follow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants