Permalink
Browse files

gh pages

  • Loading branch information...
1 parent 9b9b567 commit 379ecaf7cc75e49729927bfbe0e1c0b083474bcb @statianzo statianzo committed Sep 22, 2012
Showing with 843 additions and 0 deletions.
  1. +17 −0 docs/javascripts/scale.fix.js
  2. +1 −0 docs/params.json
  3. +69 −0 docs/stylesheets/pygment_trac.css
  4. +255 −0 docs/stylesheets/styles.css
  5. +501 −0 index.html
@@ -0,0 +1,17 @@
+var metas = document.getElementsByTagName('meta');
+var i;
+if (navigator.userAgent.match(/iPhone/i)) {
+ for (i=0; i<metas.length; i++) {
+ if (metas[i].name == "viewport") {
+ metas[i].content = "width=device-width, minimum-scale=1.0, maximum-scale=1.0";
+ }
+ }
+ document.addEventListener("gesturestart", gestureStart, false);
+}
+function gestureStart() {
+ for (i=0; i<metas.length; i++) {
+ if (metas[i].name == "viewport") {
+ metas[i].content = "width=device-width, minimum-scale=0.25, maximum-scale=1.6";
+ }
+ }
+}
Oops, something went wrong.

0 comments on commit 379ecaf

Please sign in to comment.