Sha256: 7d94f1790639cc8850522307702233b7c03ad0e806e9700fed400ba290b375a6
Contents?: true
Size: 564 Bytes
Versions: 12
Compression:
Stored size: 564 Bytes
Contents
require "jsduck/tag/member_tag" module JsDuck::Tag # As of now there is no @css_mixin tag available in CSS files. This # class just exists to define that we have a member type called # :css_mixin. class CssMixin < MemberTag def initialize @tagname = :css_mixin @member_type = { :title => "CSS Mixins", :position => MEMBER_POS_CSS_MIXIN, :icon => File.dirname(__FILE__) + "/icons/css_mixin.png" } end def to_html(mixin, cls) member_link(mixin) + member_params(mixin[:params]) end end end
Version data entries
12 entries across 12 versions & 1 rubygems