Ignore:
Timestamp:
11/25/21 22:08:24 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
8d391a1
Parents:
59329aa
Message:

primeNG components

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trip-planner-front/node_modules/@babel/preset-modules/src/plugins/transform-tagged-template-caching/index.js

    r59329aa re29cc2e  
    2424      let processed = state.get("processed");
    2525      if (!processed) {
    26         processed = new Map();
     26        processed = new WeakSet();
    2727        state.set("processed", processed);
    2828      }
     
    5656      //   identity`a${0}`
    5757      const template = t.taggedTemplateExpression(
    58         identity,
     58        t.cloneNode(identity),
    5959        t.templateLiteral(
    6060          path.node.quasi.quasis,
     
    6262        )
    6363      );
    64       processed.set(template, true);
     64      processed.add(template);
    6565
    6666      // Install an inline cache at the callsite using the global variable:
     
    7373        "||",
    7474        ident,
    75         t.assignmentExpression("=", ident, template)
     75        t.assignmentExpression("=", t.cloneNode(ident), template)
    7676      );
    7777
Note: See TracChangeset for help on using the changeset viewer.