app/views/layouts/admin.html.erb in slices-1.0.5 vs app/views/layouts/admin.html.erb in slices-2.0.0

- old
+ new

@@ -4,11 +4,10 @@ <meta charset="utf-8" /> <%= csrf_meta_tag %> <title><%= cms_title %></title> <%= stylesheet_link_tag 'slices/slices' %> - <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <%= javascript_include_tag 'slices/slices' %> <%= render "admin/shared/asset_storage" %> <meta name="robots" content="noindex, nofollow"> <script type="text/javascript"> @@ -50,23 +49,7 @@ <li data-value="{{path}}"> <span class="name">{{name}}</span> <span class="path">{{path}}</span> </li> </script> - - <% if Rails.env.production? %> - <script type="text/javascript"> - var _gaq = _gaq || []; - _gaq.push(['_setAccount', 'UA-298580-55']); - _gaq.push(['_setDomainName', 'none']); - _gaq.push(['_setAllowLinker', true]); - _gaq.push(['_setCustomVar', 1, 'Slices Version', '<%= Slices::VERSION %>', 3]); - _gaq.push(['_trackPageview']); - (function() { - var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; - ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; - var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); - })(); - </script> - <% end -%> </body> </html>