Skip to content

Commit

Permalink
Merge pull request #76 from johan/heroku
Browse files Browse the repository at this point in the history
iOS web apps <3 pjax
  • Loading branch information
Chris Wanstrath committed Feb 7, 2012
2 parents c2a7265 + c7f80c5 commit 0630e27
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion app/views/layout.erb
Expand Up @@ -5,6 +5,15 @@
<meta charset='utf-8'>
<title><%= @title ? "#{@title} - " : nil %> pjax</title>

<%# iOS chromeless and native-app:y, if run from a homescreen bookmark %>
<meta name="apple-mobile-web-app-capable" content="yes">
<%# and then make that bookmark look at least a smidge respectable too %>
<link rel="apple-touch-icon" href="/pjax-57.png" sizes="57x57">
<link rel="apple-touch-icon" href="/pjax-72.png" sizes="72x72">
<link rel="apple-touch-icon" href="/pjax-114.png" sizes="114x114">
<%# finally, make the page-top bar somewhat respectably toned down too %>
<meta name="apple-mobile-web-app-status-bar-style" content="black">

<script src="jquery.js"></script>
<script src="jquery.cookie.js"></script>
<script src="pages.js"></script>
Expand Down Expand Up @@ -64,4 +73,4 @@
<%= yield %>
</div>

</html>
</html>
Binary file added pjax-114.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pjax-16.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pjax-56.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pjax-72.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pjax.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0630e27

Please sign in to comment.