diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2019-04-14 23:33:56 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2019-04-14 23:46:44 +0200 |
commit | d10acf6d84b18ed2ad0afbf6a68d67d395dc1d9a (patch) | |
tree | 54e165eef1235a383e8e54cbdfe0d3a23980982e /lib/asciidoctor | |
parent | 3e6a31e9b0d0d6ed4daa44e8d6be000bbf508f77 (diff) |
Update asciidoctor.js to 2.0.0
Diffstat (limited to 'lib/asciidoctor')
-rw-r--r-- | lib/asciidoctor/interdoc_reftext/resolver.rb | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/asciidoctor/interdoc_reftext/resolver.rb b/lib/asciidoctor/interdoc_reftext/resolver.rb index cc32fd6..a5e6282 100644 --- a/lib/asciidoctor/interdoc_reftext/resolver.rb +++ b/lib/asciidoctor/interdoc_reftext/resolver.rb @@ -20,17 +20,8 @@ module Asciidoctor::InterdocReftext logger ||= if defined? ::Asciidoctor::LoggerManager ::Asciidoctor::LoggerManager.logger - elsif defined? ::Logger - ::Logger.new(STDERR) else - # Fake logger for Opal. - # TODO: Remove after update to Asciidoctor 1.5.7 or Opal with Logger. - Object.new.tap do |o| - # rubocop: disable MethodMissing - def o.method_missing(_, *args) - STDERR.puts(*args) - end - end + ::Logger.new(STDERR) end @document = document |