lib/jsduck/inline/link.rb in jsduck-5.3.4 vs lib/jsduck/inline/link.rb in jsduck-6.0.0beta
- old
+ new
@@ -1,7 +1,7 @@
require 'jsduck/logger'
-require 'jsduck/tag_registry'
+require 'jsduck/member_registry'
module JsDuck
module Inline
# Implementation of inline tag {@link}
@@ -39,10 +39,10 @@
end
end
# applies the link template
def apply_tpl(target, text, full_link)
- if target =~ /^(.*)#(static-)?#{TagRegistry.member_type_regex}?(.*)$/
+ if target =~ /^(.*)#(static-)?#{MemberRegistry.regex}?(.*)$/
cls = $1.empty? ? @class_context : $1
static = $2 ? true : nil
type = $3 ? $3.intern : nil
member = $4
else