|
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:
458 bytes
|
| Line | |
|---|
| 1 | /**
|
|---|
| 2 | * Copyright (c) 2015-present, Facebook, Inc.
|
|---|
| 3 | *
|
|---|
| 4 | * This source code is licensed under the MIT license found in the
|
|---|
| 5 | * LICENSE file in the root directory of this source tree.
|
|---|
| 6 | */
|
|---|
| 7 | 'use strict';
|
|---|
| 8 |
|
|---|
| 9 | // Make sure we're in a Browser-like environment before importing polyfills
|
|---|
| 10 | // This prevents `fetch()` from being imported in a Node test environment
|
|---|
| 11 | if (typeof window !== 'undefined') {
|
|---|
| 12 | // fetch() polyfill for making API calls.
|
|---|
| 13 | require('whatwg-fetch');
|
|---|
| 14 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.