Sha256: 03f35b0d440dc65e4a230ba9d5fdacbceb0afbd22ac20df20570569b9876880b

Contents?: true

Size: 1.29 KB

Versions: 4

Compression:

Stored size: 1.29 KB

Contents

<%
  js_caching = Rails.root.writable? and RefinerySetting.find_or_set(:use_resource_caching, true)
  login = defined?(login) ? login : login?
-%>
<%= yield :before_javascript_libraries -%>
<%= javascript_include_tag 'refinery/i18n' -%>
<script>I18n.locale = '<%= I18n.locale %>';</script>

<%= jquery_include_tags    :caching => js_caching -%>

<%= javascript_include_tag 'rails.js' %>

<%= javascript_include_tag 'jquery/jquery.corner.js',
                           'jquery/jquery.textTruncate.js',
                           'jquery/jquery.html5-placeholder-shim.js',
                           'jquery/jquery.timers.js',
                           'jquery/jquery.jcarousel.js',
                           :cache => ("cache/jquery-plugins" if js_caching) unless login -%>

<%= yield :after_javascript_libraries -%>

<%= javascript_include_tag 'wymeditor/jquery.refinery.wymeditor.js',
                           'admin',
                           'refinery/boot_wym',
                           'refinery/core',
                           'refinery/site_bar',
                           'refinery/admin',
                           'refinery/submenu',
                           :cache => ("cache/admin" if js_caching) unless login -%>
<%= javascript_include_tag 'refinery/core' if login -%>

<%= yield :javascripts -%>

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
refinerycms-core-0.9.9.3 app/views/admin/_javascripts.html.erb
refinerycms-core-0.9.9.2 app/views/admin/_javascripts.html.erb
refinerycms-core-0.9.9.1 app/views/admin/_javascripts.html.erb
refinerycms-0.9.9 core/app/views/admin/_javascripts.html.erb