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

Use require when running with Opal #23

Closed ggrossetie closed 9 years ago

ggrossetie commented 9 years ago

Example:

RUBY_ENGINE == 'opal' ? (require 'man-inline-macro/extension') : (require_relative 'chrome-inline-macro/extension')

We can revert this change as soon as Opal 0.7.0 is released.

mojavelinux commented 9 years ago

:+1:

Would you like to submit a patch?

ggrossetie commented 9 years ago

Why not :)

mojavelinux commented 9 years ago

\o/

ggrossetie commented 9 years ago

Resolved by 07576f808c100efa85b2ab85c86475981a16b275