@darwino/darwino
Version:
A set of Javascript classes and utilities
22 lines • 800 B
JavaScript
/*!COPYRIGHT HEADER! - CONFIDENTIAL
*
* Darwino Inc Confidential.
*
* (c) Copyright Darwino Inc. 2014-2016.
*
* Notice: The information contained in the source code for these files is the property
* of Darwino Inc. which, with its licensors, if any, owns all the intellectual property
* rights, including all copyright rights thereto. Such information may only be used
* for debugging, troubleshooting and informational purposes. All other uses of this information,
* including any production or commercial uses, are prohibited.
*/
//
// General purpose Mobile related utilities
//
var MobileUtils = {
isMobile: function isMobile() {
return window.matchMedia('screen and (max-width: 767px)').matches;
}
};
export default MobileUtils;
//# sourceMappingURL=MobileUtils.js.map