Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: github/template-parts
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.5.4
Choose a base ref
...
head repository: github/template-parts
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.6.0
Choose a head ref
  • 6 commits
  • 14 files changed
  • 3 contributors

Commits on Jul 19, 2023

  1. build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4

    Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
    - [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
    - [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4)
    
    ---
    updated-dependencies:
    - dependency-name: word-wrap
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] authored Jul 19, 2023
    Configuration menu
    Copy the full SHA
    26d7de6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #68 from github/dependabot/npm_and_yarn/word-wrap-…

    …1.2.4
    
    build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4
    keithamus authored Jul 19, 2023
    Configuration menu
    Copy the full SHA
    8f38806 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. Configuration menu
    Copy the full SHA
    80a59f2 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2024

  1. Render across <template> element boundaries

    Take, for example, a `<template>` that nests other `<template>`
    elements:
    
    ```html
    <template>
      <template>
        <div>{{x}}</div>
      </template>
    </template>
    
    <script type="module">
      import { TemplateInstance } from "@github/template-parts"
    
      const template = document.querySelector("template")
      const instance = new TemplateInstance(template, { x: "Hello world" })
    
      document.body.append(instance)
    </script>
    ```
    
    Prior to this change, the inner `<template>` element (and its child
    `<div>`) are unchanged and still render `{{x}}` as a text node.
    
    This change aims to bring support for templating across `<template>`
    boundaries. To achieve this behavior, add explicit
    [HTMLTemplateElement][] handling to the tree walking. When handling a
    `<template>` element, walk its content `DocumentFragment`, treating
    variables in the same as way as the outer `<template>` element.
    
    [HTMLTemplateElement]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLTemplateElement
    seanpdoyle committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    a27cd0b View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2024

  1. Merge pull request #72 from seanpdoyle/span-template-boundary

    Render across `<template>` element boundaries
    keithamus authored Nov 11, 2024
    Configuration menu
    Copy the full SHA
    e4ef636 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2024

  1. Configuration menu
    Copy the full SHA
    77e6451 View commit details
    Browse the repository at this point in the history
Loading