Sha256: 6b511d9417576efda3b74cf7da1fb5e2bc8c243fceca0ffb4c8915cbb43b92f3
Contents?: true
Size: 347 Bytes
Versions: 67
Compression:
Stored size: 347 Bytes
Contents
pageflow.browser.feature('high bandwidth', function() { return pageflow.bandwidth().pipe(function(result) { var isHigh = result.speedInBps > 8000 * 1024; if (window.console) { window.console.log('Detected bandwidth ' + (result.speedInBps / 8 / 1024) + 'KB/s. High: ' + (isHigh ? 'Yes' : 'No')); } return isHigh; }); });
Version data entries
67 entries across 67 versions & 1 rubygems