lib/locomotive/liquid/filters/html.rb
# Write the link to javascript resource
# input: url of the javascript file
Write the link to javascript resource
input: url of the javascript file
Write the link to javascript resource input : url of the javascript file
def javascript_tag(input)
          return '' if input.nil?
          input = javascript_url(input)
          %{<script src="#{input}" type="text/javascript"></script>}
        end
def javascript_tag ( input ) return '' if input . nil? input = javascript_url ( input ) %{<script src="#{input}" type="text/javascript"></script>} end
Write the link to javascript resource
input: url of the javascript file
Write the link to javascript resource input : url of the javascript file
input