Skip to content

Commit

Permalink
[ci skip] TODO for link to docs and comment spellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Dec 5, 2017
1 parent be9d621 commit 5c91985
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/mixins/element-mixin.html
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@
let template = /** @type {PolymerElementConstructor} */ (klass).template;
if (template) {
if (typeof template === 'string') {
// TODO(dan): Add link to docs explaining deprecation of string templates
console.warn('String templates are deprecated. ' +
`Please return a <template>, or use Polymer.html\`\` for element <${klass.is}>`);
let t = document.createElement('template');
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/html-fn.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
}

/**
* A template literal tag1 that creates an HTML <template> element from the contents of the string.
* A template literal tag that creates an HTML <template> element from the contents of the string.
*
* This allows you to write a Polymer Template in JavaScript.
*
Expand Down

0 comments on commit 5c91985

Please sign in to comment.