Class: Roll::Amp::Script::AmpJsTag
- Inherits:
-
IncludeScriptTag
- Object
- IncludeScriptTag
- Roll::Amp::Script::AmpJsTag
- Defined in:
- lib/roll/amp/script/amp_js_tag.rb
Overview
The script tag with AMP main JS file.
Class Method Summary collapse
-
.src ⇒ String
must be always included on AMP pages.
Instance Method Summary collapse
-
#initialize ⇒ AmpJsTag
constructor
Initializes new instance of the AMP script tag.
Methods inherited from IncludeScriptTag
Constructor Details
Class Method Details
.src ⇒ String
must be always included on AMP pages.
13 14 15 |
# File 'lib/roll/amp/script/amp_js_tag.rb', line 13 def self.src 'https://cdn.ampproject.org/v0.js'.freeze end |