Comparing version 0.2.3 to 0.2.4
@@ -133,5 +133,6 @@ /** | ||
this.parts.push(new TemplatePart('node', index)); | ||
index++; | ||
index += 2; | ||
} | ||
} | ||
index--; | ||
nodesToRemove.push(node); | ||
@@ -138,0 +139,0 @@ } |
@@ -108,2 +108,8 @@ /** | ||
}); | ||
test('values contain interpolated values', () => { | ||
const container = document.createElement('div'); | ||
const t = html `${'a'},${'b'},${'c'}`; | ||
t.renderTo(container); | ||
assert.equal(container.innerHTML, 'a,b,c'); | ||
}); | ||
// test('renders multiple nested templates', () => { | ||
@@ -110,0 +116,0 @@ // const container = document.createElement('div'); |
{ | ||
"name": "lit-html", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "HTML template literals in JavaScript", | ||
@@ -5,0 +5,0 @@ "license": "BSD-3-Clause", |
@@ -147,5 +147,6 @@ /** | ||
this.parts.push(new TemplatePart('node', index)); | ||
index++; | ||
index += 2; | ||
} | ||
} | ||
index--; | ||
nodesToRemove.push(node); | ||
@@ -152,0 +153,0 @@ } |
@@ -131,2 +131,9 @@ /** | ||
test('values contain interpolated values', () => { | ||
const container = document.createElement('div'); | ||
const t = html`${'a'},${'b'},${'c'}`; | ||
t.renderTo(container); | ||
assert.equal(container.innerHTML, 'a,b,c'); | ||
}); | ||
// test('renders multiple nested templates', () => { | ||
@@ -133,0 +140,0 @@ // const container = document.createElement('div'); |
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
179790
22
2567
7