Icard/angular-clarity-master(work.../node_modules/lit-html/directives/guard.js

9 lines
574 B
JavaScript
Raw Normal View History

2024-07-16 14:55:36 +00:00
import{noChange as r}from"../lit-html.js";import{directive as t,Directive as s}from"../directive.js";
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
const e={},i=t(class extends s{constructor(){super(...arguments),this.ot=e}render(r,t){return t()}update(t,[s,e]){if(Array.isArray(s)){if(Array.isArray(this.ot)&&this.ot.length===s.length&&s.every(((r,t)=>r===this.ot[t])))return r}else if(this.ot===s)return r;return this.ot=Array.isArray(s)?Array.from(s):s,this.render(s,e)}});export{i as guard};
//# sourceMappingURL=guard.js.map