source: trip-planner-front/node_modules/style-loader/dist/runtime/isOldIE.js@ 1ad8e64

Last change on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 561 bytes
Line 
1"use strict";
2
3var memo;
4/* istanbul ignore next */
5
6function isOldIE() {
7 if (typeof memo === "undefined") {
8 // Test for IE <= 9 as proposed by Browserhacks
9 // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805
10 // Tests for existence of standard globals is to allow style-loader
11 // to operate correctly into non-standard environments
12 // @see https://github.com/webpack-contrib/style-loader/issues/177
13 memo = Boolean(window && document && document.all && !window.atob);
14 }
15
16 return memo;
17}
18
19module.exports = isOldIE;
Note: See TracBrowser for help on using the repository browser.