* Upgrades the source to work with lit-next * Aligns the linting and formatting rules/settings & ignores with the monorepo * Upgrades to the same version of typescript and tsconfig settings as the monorepo * Upgrades the test runner from karma to web-test-runner * Upgrades the dev server from es-dev-server to @web/dev-server
92 lines
17 KiB
JavaScript
92 lines
17 KiB
JavaScript
/**
|
||
* @license
|
||
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
||
* This code may only be used under the BSD style license found at
|
||
* http://polymer.github.io/LICENSE.txt
|
||
* The complete set of authors may be found at
|
||
* http://polymer.github.io/AUTHORS.txt
|
||
* The complete set of contributors may be found at
|
||
* http://polymer.github.io/CONTRIBUTORS.txt
|
||
* Code distributed by Google as part of the polymer project is also
|
||
* subject to an additional IP rights grant found at
|
||
* http://polymer.github.io/PATENTS.txt
|
||
*/
|
||
var t;const s=`lit$${(Math.random()+"").slice(9)}$`,i="?"+s,e=`<${i}>`,h=document,n=(t="")=>h.createComment(t),o=t=>null===t||"object"!=typeof t&&"function"!=typeof t,r=Array.isArray,l=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,c=/-->/g,a=/>/g,u=/>|[ \n\r](?:([^ |