current-device
current-device copied to clipboard
window[_orientation_event] = _handleOrientation; is error
in https://github.com/matthewhudson/device.js/blob/master/lib/device.js
window[_orientation_event] = _handleOrientation;
is error, right is:
window['on' + _orientation_event] = _handleOrientation;