Skip to content

Commit

Permalink
rewrite js includes
Browse files Browse the repository at this point in the history
  • Loading branch information
deepflame committed Jul 1, 2013
1 parent debaa69 commit dda8699
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/layouts/layout.erb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</style>
<% end %>

<%= javascript_include_tag "vendor/custom.modernizr" %>
<%= javascript_include_tag "modernizr" %>

<%= yield_content :head %>
</head>
Expand Down Expand Up @@ -111,7 +111,7 @@

<script>
document.write('<script src=' +
('__proto__' in {} ? "<%= asset_path :js, 'vendor/zepto' %>" : "<%= asset_path :js, 'vendor/jquery' %>") +
('__proto__' in {} ? "<%= asset_path :js, 'zepto' %>" : "<%= asset_path :js, 'jquery' %>") +
'><\/script>')
</script>

Expand Down

0 comments on commit dda8699

Please sign in to comment.