@webqit/oohtml 4.3.16 → 4.3.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1828,22 +1828,22 @@ The following is much like the above, but imperative. Additions and removals on
1828
1828
  <section namespace>
1829
1829
 
1830
1830
  <!-- The "items" template -->
1831
- <template def="item" scoped>
1832
- <li><a>Item</a></li>
1831
+ <template def="partials" scoped>
1832
+ <li def="item"></li>
1833
1833
  </template>
1834
1834
 
1835
1835
  <!-- The loop -->
1836
1836
  <ul id="list"></ul>
1837
1837
 
1838
- <script scoped>
1838
+ <script quantum scoped>
1839
1839
  // Import item template
1840
- let itemImport = this.import('item');
1840
+ let itemImport = this.import('partials#item');
1841
1841
  let itemTemplate = itemImport.value;
1842
1842
 
1843
1843
  // Iterate
1844
1844
  let items = [ 'Item 1', 'Item 2', 'Item 3' ];
1845
1845
  for (let entry of items) {
1846
- const currentItem = itemTemplate.content.cloneNode(true);
1846
+ const currentItem = itemTemplate.cloneNode(true);
1847
1847
  // Add to DOM
1848
1848
  this.namespace.list.appendChild(currentItem);
1849
1849
  // Remove from DOM whenever corresponding entry is removed