UNPKG

@haxtheweb/haxcms-nodejs

Version:

HAXcms single and multisite nodejs server, api, and administration

6 lines 432 B
import{nothing as e}from"../lit-html.js";import{directive as t,Directive as r}from"../directive.js";import{setCommittedValue as s}from"../directive-helpers.js"; /** * @license * Copyright 2021 Google LLC * SPDX-License-Identifier: BSD-3-Clause */const i=t(class extends r{constructor(){super(...arguments),this.key=e}render(e,t){return this.key=e,t}update(e,[t,r]){return t!==this.key&&(s(e),this.key=t),r}});export{i as keyed};