Sha256: cf06cbd70f7fbd0de34663151c770b303922ee5b728558e6571a8c534c1a3e19

Contents?: true

Size: 460 Bytes

Versions: 2

Compression:

Stored size: 460 Bytes

Contents

require "jsduck/tag/boolean_tag"

module JsDuck::Tag
  # The @component tag should be rarely used explicitly as it gets
  # auto-detected by Process::Components for any component inheriting
  # from Ext.Component.
  class Component < BooleanTag
    def initialize
      @pattern = "component"
      @class_icon = {
        :icon => File.dirname(__FILE__) + "/icons/component.png",
        :priority => PRIORITY_COMPONENT,
      }
      super
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jsduck-troopjs-0.0.10 lib/jsduck/tag/component.rb
jsduck-troopjs-0.0.9 lib/jsduck/tag/component.rb