Login  Register

Re: Upgrading Asciidoctor.js to the latest version of Asciidoctor

Posted by Adam Beynon on Sep 24, 2013; 9:38am
URL: https://discuss.asciidoctor.org/Upgrading-Asciidoctor-js-to-the-latest-version-of-Asciidoctor-tp636p649.html

Update:

I have fixed the Opal bug in parsing ternary statements, as well as the example to now use `$global` instead of `$window` as the `Native` instance.

I am now encountering a different bug in running the example, where a variable is `nil` instead of an expected string. I will dig down and see if I can route out the problem.

My fork is here, with the very small change: https://github.com/adambeynon/asciidoctor.js/commit/b05b8fd1b909eed068541fce29c626196452e941.

Adam.