Sha256: 7733a0e08ceeb39594a785120d272fd64fd0ea89a22a61a2cc495c7b656aa4fd

Contents?: true

Size: 312 Bytes

Versions: 36

Compression:

Stored size: 312 Bytes

Contents

# frozen_string_literal: true

module Bridgetown
  module Tags
    class LiveReloadJsTag < Liquid::Tag
      def render(context)
        Bridgetown::Utils.live_reload_js(context.registers[:site])
      end
    end
  end
end

Liquid::Template.register_tag("live_reload_dev_js", Bridgetown::Tags::LiveReloadJsTag)

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
bridgetown-core-2.0.0.beta3 lib/bridgetown-core/tags/live_reload_dev_js.rb
bridgetown-core-2.0.0.beta2 lib/bridgetown-core/tags/live_reload_dev_js.rb
bridgetown-core-2.0.0.beta1 lib/bridgetown-core/tags/live_reload_dev_js.rb
bridgetown-core-1.3.4 lib/bridgetown-core/tags/live_reload_dev_js.rb
bridgetown-core-1.3.3 lib/bridgetown-core/tags/live_reload_dev_js.rb
bridgetown-core-1.3.2 lib/bridgetown-core/tags/live_reload_dev_js.rb
bridgetown-core-1.3.1 lib/bridgetown-core/tags/live_reload_dev_js.rb
bridgetown-core-1.3.0 lib/bridgetown-core/tags/live_reload_dev_js.rb
bridgetown-core-1.3.0.beta3 lib/bridgetown-core/tags/live_reload_dev_js.rb
bridgetown-core-1.3.0.beta2 lib/bridgetown-core/tags/live_reload_dev_js.rb
bridgetown-core-1.3.0.beta1 lib/bridgetown-core/tags/live_reload_dev_js.rb
bridgetown-core-1.2.0 lib/bridgetown-core/tags/live_reload_dev_js.rb
bridgetown-core-1.2.0.beta5 lib/bridgetown-core/tags/live_reload_dev_js.rb
bridgetown-core-1.2.0.beta4 lib/bridgetown-core/tags/live_reload_dev_js.rb
bridgetown-core-1.2.0.beta3 lib/bridgetown-core/tags/live_reload_dev_js.rb
bridgetown-core-1.2.0.beta2 lib/bridgetown-core/tags/live_reload_dev_js.rb
bridgetown-core-1.2.0.beta1 lib/bridgetown-core/tags/live_reload_dev_js.rb
bridgetown-core-1.1.0 lib/bridgetown-core/tags/live_reload_dev_js.rb
bridgetown-core-1.1.0.beta3 lib/bridgetown-core/tags/live_reload_dev_js.rb
bridgetown-core-1.1.0.beta2 lib/bridgetown-core/tags/live_reload_dev_js.rb