Class: Slippery::Processors::FathomJs

Inherits:
Object
  • Object
show all
Includes:
Slippery::ProcessorHelpers
Defined in:
lib/slippery/processors/fathom_js.rb

Overview

Constant Summary collapse

FATHOM =
'https://raw.githubusercontent.com/markdalgleish/fathom/master/fathom.min.js'

Instance Method Summary collapse

Methods included from Slippery::ProcessorHelpers

asset_uri, #call, #data_attributes, #hash_to_js, #include_local_css, #include_local_javascript, included, #javascript_include_tag, #stylesheet_link_tag

Constructor Details

#initialize(options) ⇒ FathomJs

Returns a new instance of FathomJs.



8
9
10
# File 'lib/slippery/processors/fathom_js.rb', line 8

def initialize(options)
  @options = options
end