Last change
on this file since 59329aa was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
561 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | "use strict";
|
---|
| 2 |
|
---|
| 3 | var memo;
|
---|
| 4 | /* istanbul ignore next */
|
---|
| 5 |
|
---|
| 6 | function 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 |
|
---|
| 19 | module.exports = isOldIE; |
---|
Note:
See
TracBrowser
for help on using the repository browser.