Provides useful information about the browser environment
(function(){
Browser.Device = {
name: 'other'
};
if (Browser.Platform.ios){
var device = navigator.userAgent.toLowerCase().match(/(ip(ad|od|hone))/)[0];
Browser.Device[device] = true;
Browser.Device.name = device;
}
if (this.devicePixelRatio == 2)
Browser.hasHighResolution = true;
Browser.isMobile = !['mac', 'linux', 'win'].contains(Browser.Platform.name);
})();