You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using this issue as a guide: janl/mustache.js#538 it is possible to extract the variable names for a template. Therefore, I should be able to check if a given template is using valid variable names. E.g.
// check against builtin variables"https://example.com/post/{value}/comments/{index}"// valid// given { "input": ["search", "user"] }"https://example.com/user/{user}/search/{search}"// valid"https://example.com/user/{user}/search/{someotherval}"// invalid
The text was updated successfully, but these errors were encountered:
Using this issue as a guide: janl/mustache.js#538 it is possible to extract the variable names for a template. Therefore, I should be able to check if a given template is using valid variable names. E.g.
The text was updated successfully, but these errors were encountered: