Comments (4)
Mmmh, yeah, must have skipped that one. I fixed it on the dev branch, but if you have an example of ink file that runs into this error, I could use it to confirm it's ok now.
from inkjs.
Here's the code I mentioned. It's currently using an unminified version of the latest iife (so I can get line numbers out of the tracebacks), but switching between them should be fine.
testing.zip
Here's what the output looks like in Inky, using fallbacks that just echo their input:
EDIT: I should have included testing.ink as well. It's some pretty abusive code, for its size. Various things you can uncomment to see how they react.
testing.ink.zip
(FWIW, the current C# behavior when passing a divert to an external function is apparently to coerce it to a string.)
from inkjs.
Great, thank you. I'll have a go with it.
from inkjs.
TBH I don't have time to look at the testing.ink file, but running your html file with the dev version of ink produces the same output as inky and no errors, so it should be ok. But feel free to open another issue if you notice a wrong behavior with diverts etc :-)
from inkjs.
Related Issues (20)
- Error when calling Continue() when canContinue is true HOT 7
- How do I properly set up a PosixFileHandler? HOT 4
- Serverless template Uncaught Error: Failed to convert token to runtime object: "#", but working with ink-full.js HOT 4
- Calling EvaluateFunction() on functions with multiple arguments crashes HOT 5
- Choice tags are gone after state reloading HOT 1
- Bug in LIST_RANGE
- Missing commits in the port HOT 1
- Missing API: cannot bind callback to story.onError HOT 1
- export `JsonSerialisation` HOT 1
- Dynamic Tags are generated in reverse order HOT 2
- scrollDown malfunctions if it needs to scroll up instead HOT 1
- What's the correct syntax for Compiler with JSON file handler? HOT 2
- vite CommonJS error HOT 9
- Can't enumerate variables without accessing private attribute `_globalVariables`
- Compiler export is missing on the newest version HOT 5
- Typescript fails on `import { Story } from 'inkjs';` in 2.2.3 / 2.2.4 HOT 4
- Choice tags are not loaded from state HOT 1
- Couldnʻt get 2.2.3 or 2.2.4 working.. HOT 1
- [Help] How to use `PosixFileHandler` in conjunction with Webpack 5 HOT 2
- Compile crash HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inkjs.