lit-html
Advanced tools
Comparing version 0.14.0 to 1.0.0-rc.1
@@ -19,3 +19,3 @@ # Change Log | ||
## Unreleased | ||
## [0.14.0] - 2018-11-30 | ||
### Changed | ||
@@ -22,0 +22,0 @@ * `until()` can now take any number of sync or async arguments. ([#555](https://github.com/Polymer/lit-html/pull/555)) |
/** | ||
* @license | ||
* Copyright (c) 2018 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 | ||
*/ | ||
/** | ||
* The Part interface represents a dynamic part of a template instance rendered | ||
@@ -3,0 +16,0 @@ * by lit-html. |
/** | ||
* @license | ||
* Copyright (c) 2018 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 | ||
*/ | ||
/** | ||
* A sentinel value that signals that a value was handled by a directive and | ||
@@ -3,0 +16,0 @@ * should not be written to the DOM. |
{ | ||
"name": "lit-html", | ||
"version": "0.14.0", | ||
"version": "1.0.0-rc.1", | ||
"description": "HTML template literals in JavaScript", | ||
@@ -26,3 +26,3 @@ "license": "BSD-3-Clause", | ||
"checksize": "rollup -c ; cat lit-html.bundled.js | gzip -9 | wc -c ; rm lit-html.bundled.js", | ||
"gen-docs": "typedoc --readme none --mode modules --ignoreCompilerErrors --excludeNotExported --excludePrivate --exclude **/*_test.ts --out ./docs/api --gaID UA-39334307-23 ./src", | ||
"gen-docs": "typedoc --readme ./docs/_api-readme.md --mode file --ignoreCompilerErrors --excludeNotExported --excludePrivate --out ./docs/api --gaID UA-39334307-23 ./src/lit-html.ts ./src/lib/*.ts ./src/directives/*.ts", | ||
"test": "npm run build && npm run lint && wct --npm", | ||
@@ -29,0 +29,0 @@ "quicktest": "wct -l chrome -p --npm", |
@@ -46,4 +46,4 @@ /** | ||
const capturedCreateElement = Document.prototype.createElement; | ||
Document.prototype.createElement = function createElement() { | ||
let el = capturedCreateElement.apply(this, arguments); | ||
Document.prototype.createElement = function createElement(tagName, options) { | ||
let el = capturedCreateElement.call(this, tagName, options); | ||
if (el.localName === 'template') { | ||
@@ -50,0 +50,0 @@ el = capturedCreateElement.call(this, 'div'); |
/** | ||
* @license | ||
* Copyright (c) 2018 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 | ||
*/ | ||
/** | ||
* The Part interface represents a dynamic part of a template instance rendered | ||
@@ -3,0 +17,0 @@ * by lit-html. |
@@ -49,4 +49,4 @@ /** | ||
const capturedCreateElement = Document.prototype.createElement; | ||
Document.prototype.createElement = function createElement() { | ||
let el = capturedCreateElement.apply(this, arguments); | ||
Document.prototype.createElement = function createElement(tagName: string, options?: ElementCreationOptions) { | ||
let el = capturedCreateElement.call(this, tagName, options); | ||
if (el.localName === 'template') { | ||
@@ -53,0 +53,0 @@ el = capturedCreateElement.call(this, 'div'); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
524035
153
7005