<commit_before># Frozen-string-literal: true
# Copyright: 2012-2015 - MIT License
# Encoding: utf-8

require "fastimage"

module Jekyll
  module Assets
    module Liquid
      class Tag < ::Liquid::Tag
        require_relative "tag/proxies"
        require_relative "tag/proxied_asset"
        require_relative "tag/parser"
        attr_reader :args

        class AssetNotFoundError < StandardError
          def initialize(asset)
            super "Could not find the asset `#{asset}'"
          end
        end

        #

        AcceptableTags = %W(
          img
          image
          javascript
          asset_source
          stylesheet
          asset_path
          style
          asset
          css
          js
        )

        #

        Tags = {
          "css" => %Q{<link type="text/css" rel="stylesheet" href="%s"%s>},
          "js"  => %Q{<script type="text/javascript" src="%s"%s></script>},<commit_msg>That's a stupid ass policy on behalf of Liquid.<commit_after># Frozen-string-literal: true
# Copyright: 2012-2015 - MIT License
# Encoding: utf-8

require "fastimage"

module Jekyll
  module Assets
    module Liquid
      class Tag < ::Liquid::Tag
        require_relative "tag/proxies"
        require_relative "tag/proxied_asset"
        require_relative "tag/parser"
        attr_reader :args

        class << self
          public \
            :new
        end

        class AssetNotFoundError < StandardError
          def initialize(asset)
            super "Could not find the asset `#{asset}'"
          end
        end

        #

        AcceptableTags = %W(
          img
          image
          javascript
          asset_source
          stylesheet
          asset_path
          style
          asset
          css
          js
        )

        #

        Tags = {
          "css" => %Q{<link type="text/css" rel="stylesheet" href="%s"%s>},
          "js"  => %Q{<script type="text/javascript" src="%s"%s></script>},
{'fraction_non_alphanumeric': 0.09751142712036567, 'fraction_numerical': 0.009141696292534281, 'mean_word_length': 1.6231691078561918, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3806877', 'n_tokens_mistral': 590, 'n_tokens_neox': 553, 'n_words': 140}