@atlassian/aui
Version:
Atlassian User Interface Framework
25 lines (23 loc) • 676 B
JavaScript
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define([], factory);
} else if (typeof exports !== "undefined") {
factory();
} else {
var mod = {
exports: {}
};
factory();
global.jqueryOs = mod.exports;
}
})(this, function () {
'use strict';
jQuery.os = {};
(function () {
var platform = navigator.platform.toLowerCase();
jQuery.os.windows = platform.indexOf('win') != -1;
jQuery.os.mac = platform.indexOf('mac') != -1;
jQuery.os.linux = platform.indexOf('linux') != -1;
})();
});
//# sourceMappingURL=jquery.os.js.map