Permalink
Browse files

Fix Asciidoctor.js example in the 2014-08-23 news (PR #642)

  • Loading branch information...
1 parent ab75096 commit 2cee3f9d38614c3d2717e537db0c6f1663abb30d @twitwi twitwi committed with mojavelinux Dec 30, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 news/asciidoctor-js-1-5-0-released.adoc
@@ -97,7 +97,7 @@ Here is a simple example that converts AsciiDoc to HTML5 using the `doctype: 'in
[source,javascript]
----
-var content = "http://asciidoctor.org[*Asciidoctor*] " +
+var asciidoc = "http://asciidoctor.org[*Asciidoctor*] " +
"running on http://opalrb.org[_Opal_] " +
"brings AsciiDoc to the browser!";
var options = Opal.hash2(['doctype', 'attributes'], {doctype: 'inline', attributes: ['showtitle']});

0 comments on commit 2cee3f9

Please sign in to comment.