From d8b796acb9275e74324c3ea04324314ecbe1b664 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Tue, 7 Jun 2011 10:45:01 -0400 Subject: Another massive commit: 1. Major improvements to the responsive styling. 2. Toggleable sidebar 3. Upgraded to modernizr 2.0 which includes Respond.js 4. IE7-9 testing and fixes 5. New theming system which should make forkers happy 6. New rake task for installing Octopress themes 7. Magic --- .../javascripts/libs/ios-viewport-scaling-bug-fix.js | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 source/javascripts/libs/ios-viewport-scaling-bug-fix.js (limited to 'source/javascripts/libs/ios-viewport-scaling-bug-fix.js') diff --git a/source/javascripts/libs/ios-viewport-scaling-bug-fix.js b/source/javascripts/libs/ios-viewport-scaling-bug-fix.js deleted file mode 100644 index 0e8d701d..00000000 --- a/source/javascripts/libs/ios-viewport-scaling-bug-fix.js +++ /dev/null @@ -1,20 +0,0 @@ -// https://gist.github.com/901295 -// By @mathias, @cheeaun and @jdalton - -(function(doc) { - var addEvent = 'addEventListener', - type = 'gesturestart', - qsa = 'querySelectorAll', - scales = [1, 1], - meta = qsa in doc ? doc[qsa]('meta[name=viewport]') : []; - function fix() { - meta.content = 'width=device-width,minimum-scale=' + scales[0] + ',maximum-scale=' + scales[1]; - doc.removeEventListener(type, fix, true); - } - if ((meta = meta[meta.length - 1]) && addEvent in doc) { - fix(); - scales = [.25, 1.6]; - doc[addEvent](type, fix, true); - } -}(document)); - -- cgit v1.2.1