Sha256: 20857f0690aa49cf46927b3f4af784fa3c58b7eec0543a00853c4838334f4f25

Contents?: true

Size: 403 Bytes

Versions: 16

Compression:

Stored size: 403 Bytes

Contents

module Liquid
  module Locomotive
    module Tags
      class Jquery < ::Liquid::Tag

        def render(context)
          %{
            <script src="/javascripts/jquery.js" type="text/javascript"></script>
            <script src="/javascripts/jquery.ui.js" type="text/javascript"></script>
          }
        end
      end

      ::Liquid::Template.register_tag('jQuery', Jquery)
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
locomotive_cms-2.0.0.rc2 lib/locomotive/liquid/tags/jquery.rb
locomotive_cms-2.0.0.rc1 lib/locomotive/liquid/tags/jquery.rb
locomotive_cms-1.0.0.beta.2 lib/locomotive/liquid/tags/jquery.rb
locomotive_cms-1.0.0.beta lib/locomotive/liquid/tags/jquery.rb
locomotive_cms-0.0.4.beta12 lib/locomotive/liquid/tags/jquery.rb
locomotive_cms-0.0.4.beta11 lib/locomotive/liquid/tags/jquery.rb
locomotive_cms-0.0.4.beta10 lib/locomotive/liquid/tags/jquery.rb
locomotive_cms-0.0.4.beta9 lib/locomotive/liquid/tags/jquery.rb
locomotive_cms-0.0.4.beta8 lib/locomotive/liquid/tags/jquery.rb
locomotive_cms-0.0.4.beta7 lib/locomotive/liquid/tags/jquery.rb
locomotive_cms-0.0.4.beta5 lib/locomotive/liquid/tags/jquery.rb
locomotive_cms-0.0.4.beta4 lib/locomotive/liquid/tags/jquery.rb
locomotive_cms-0.0.4.beta3 lib/locomotive/liquid/tags/jquery.rb
locomotive_cms-0.0.4.beta2 lib/locomotive/liquid/tags/jquery.rb
locomotive_cms-0.0.4.beta1 lib/locomotive/liquid/tags/jquery.rb
locomotive_cms-0.0.4 lib/locomotive/liquid/tags/jquery.rb