Sha256: 110e3de15893638ad1947493a3d58698ac4210fef7f9710a667dd83aa1e47384

Contents?: true

Size: 427 Bytes

Versions: 18

Compression:

Stored size: 427 Bytes

Contents

require 'fortitude/doctypes'
require 'fortitude/doctypes/base'

module Fortitude
  module Doctypes
    class UnknownDoctype < Base
      def initialize(declaration = nil)
        super(:unknown, declaration)
      end

      def default_javascript_tag_attributes
        { }
      end

      def needs_cdata_in_javascript_tag?
        false
      end

      def allows_bare_attributes?
        true
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
fortitude-0.9.6-java lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.9.6 lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.9.5-java lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.9.5 lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.9.4-java lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.9.4 lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.9.3-java lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.9.3 lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.9.2-java lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.9.2 lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.9.1-java lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.9.1 lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.9.0-java lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.9.0 lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.0.10-java lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.0.10 lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.0.9-java lib/fortitude/doctypes/unknown_doctype.rb
fortitude-0.0.9 lib/fortitude/doctypes/unknown_doctype.rb