source: trip-planner-front/node_modules/style-loader/dist/runtime/isEqualLocals.js@ 59329aa

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: 535 bytes
Line 
1"use strict";
2
3function isEqualLocals(a, b, isNamedExport) {
4 if (!a && b || a && !b) {
5 return false;
6 }
7
8 var p;
9
10 for (p in a) {
11 if (isNamedExport && p === "default") {
12 // eslint-disable-next-line no-continue
13 continue;
14 }
15
16 if (a[p] !== b[p]) {
17 return false;
18 }
19 }
20
21 for (p in b) {
22 if (isNamedExport && p === "default") {
23 // eslint-disable-next-line no-continue
24 continue;
25 }
26
27 if (!a[p]) {
28 return false;
29 }
30 }
31
32 return true;
33}
34
35module.exports = isEqualLocals;
Note: See TracBrowser for help on using the repository browser.