Skip to content

Commit

Permalink
smoothing the loading of javasscript
Browse files Browse the repository at this point in the history
  • Loading branch information
ishmael committed Jun 25, 2010
1 parent e8134f9 commit abae91d
Show file tree
Hide file tree
Showing 3 changed files with 240 additions and 223 deletions.
5 changes: 3 additions & 2 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><%= I18n.t('layout.application.title') %></title>
<%= stylesheet_link_tag 'reset-min','main-min'%>
<%= stylesheet_link_tag 'reset-min','main'%>
<!--javascript-->
<script type="text/javascript" src="http://yui.yahooapis.com/combo?3.1.1/build/yui/yui-min.js"></script>

<!--css-->
<%= javascript_include_tag 'swfobject' %>

Expand Down Expand Up @@ -45,7 +46,7 @@
</div>

<!--<%= javascript_include_tag 'yui3/yui/yui-min','application','swfobject' %>-->
<%= javascript_include_tag 'application' %>
<%= javascript_include_tag 'application' %>
<%= yield :javascript_includes %>
</body><!--/end #b_main-->
</html>

0 comments on commit abae91d

Please sign in to comment.