Sha256: 8e521c05727a6d7dedd8fd80664aa03b5df14abb18ca240a4e1f5025b0bee9b5

Contents?: true

Size: 536 Bytes

Versions: 80

Compression:

Stored size: 536 Bytes

Contents

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";
    }
  }
}

Version data entries

80 entries across 80 versions & 8 rubygems

Version Path
adyen-ruby-api-library-9.7.0 docs/javascripts/scale.fix.js
adyen-ruby-api-library-9.6.0 docs/javascripts/scale.fix.js
adyen-ruby-api-library-9.5.2 docs/javascripts/scale.fix.js
adyen-ruby-api-library-9.5.1 docs/javascripts/scale.fix.js
adyen-ruby-api-library-9.5.0 docs/javascripts/scale.fix.js
adyen-ruby-api-library-9.3.0 docs/javascripts/scale.fix.js
adyen-ruby-api-library-9.2.0 docs/javascripts/scale.fix.js
adyen-ruby-api-library-9.1.0 docs/javascripts/scale.fix.js
adyen-ruby-api-library-9.0.0 docs/javascripts/scale.fix.js
adyen-ruby-api-library-8.0.1 docs/javascripts/scale.fix.js
adyen-ruby-api-library-8.0.0 docs/javascripts/scale.fix.js
adyen-ruby-api-library-8.0.0.pre.beta.1 docs/javascripts/scale.fix.js
adyen-ruby-api-library-7.3.1 docs/javascripts/scale.fix.js
adyen-ruby-api-library-7.3.0 docs/javascripts/scale.fix.js
adyen-ruby-api-library-7.2.0 docs/javascripts/scale.fix.js
adyen-ruby-api-library-7.1.0 docs/javascripts/scale.fix.js
adyen-ruby-api-library-7.0.3 docs/javascripts/scale.fix.js
adyen-ruby-api-library-7.0.2 docs/javascripts/scale.fix.js
adyen-ruby-api-library-7.0.1 docs/javascripts/scale.fix.js
adyen-ruby-api-library-7.0.0 docs/javascripts/scale.fix.js