asciidoctor / asciidoctor-extensions-lab

A lab for testing and demonstrating Asciidoctor extensions. Please do not use this code in production. If you want to use one of these extensions in your application, create a new project, import the code, and distribute it as a RubyGem. You can then request to make it a top-level project under the Asciidoctor organization.
Other
105 stars 101 forks source link

Allow to cross-compile in js #19

Closed ggrossetie closed 9 years ago

mojavelinux commented 9 years ago

:+1: Asciidoctor.js, here we come!

mojavelinux commented 9 years ago

It turns out we do need the require 'asciidoctor/extensions' line when loading these from the cli. We can change this line to the following:

require 'asciidoctor/extensions' unless RUBY_ENGINE == 'opal'

Could you update, @Mogztter?

ggrossetie commented 9 years ago

Oops, yes sure Le 3 nov. 2014 06:16, "Dan Allen" notifications@github.com a écrit :

It turns out we do need the require 'asciidoctor/extensions' line when loading these from the cli. We can change this line to the following:

require 'asciidoctor/extensions' unless RUBY_ENGINE == 'opal'

Could you update, @Mogztter https://github.com/Mogztter?

— Reply to this email directly or view it on GitHub https://github.com/asciidoctor/asciidoctor-extensions-lab/pull/19#issuecomment-61441591 .