source: frontend/node_modules/style-loader/dist/runtime/isOldIE.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 605 bytes
Line 
1"use strict";
2
3var memo;
4
5/* istanbul ignore next */
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(typeof window !== "undefined" && typeof document !== "undefined" && document.all && !window.atob);
14 }
15 return memo;
16}
17module.exports = isOldIE;
Note: See TracBrowser for help on using the repository browser.