Skip to content

Conversation

@theengineear
Copy link
Collaborator

@theengineear theengineear commented Nov 19, 2024

  • Removes “ifDefined” (previously just deprecated).
  • Removes “repeat” (previously just deprecated).

@theengineear
Copy link
Collaborator Author

@klebba — You asked about a PR to show what the interface will look like. Here one is! This is just throwaway work since it’s pointing to a different PR, but I’ll keep recreating every time I make changes so that you can stay updated here.

@theengineear
Copy link
Collaborator Author

The git diff shown in the test-template-engine.js file is not great… it’s really a straight deletion… bummer that it shows up like that 🤷

@klebba
Copy link
Contributor

klebba commented Dec 2, 2024

x-template contents are always valid HTML and this is important so that HTML linters can be used to evaluate them

^ can we incorporate this somewhere? my thought is that the x-template would be a mime type text/html

@theengineear theengineear force-pushed the ready-2x-interface branch 2 times, most recently from 9460060 to 19367eb Compare December 5, 2024 02:45
Base automatically changed from ready-2x-interface to main December 5, 2024 03:36
@theengineear theengineear marked this pull request as draft December 17, 2024 01:42
@theengineear theengineear force-pushed the 2x branch 2 times, most recently from 3c2943e to 5533a58 Compare August 6, 2025 22:19
// the parser is _very_ strict, we can make a lot of simplifying assumptions.
static #onToken(
// These areguments are passed in through a “bind”.
// These arguments are passed in through a “bind”.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is unrelated, just found a typo.

node[name] = value;
}

// TODO: Future state here once “ifDefined” is gone.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The future is now!

@theengineear theengineear force-pushed the 2x branch 2 times, most recently from 42e2490 to d7ddf41 Compare August 8, 2025 15:26
* Removes “ifDefined” (previously just deprecated).
* Removes “repeat” (previously just deprecated).
* Removes some “future state” commentary (cleanup).

Closes #314.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants