- From: Eric Newport <notifications@github.com>
- Date: Tue, 14 Nov 2017 02:57:19 +0000 (UTC)
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 14 November 2017 02:57:42 UTC
Ah you're right. I misread their proposal. They cited that as an example of something that is a desired use case, using mustache syntax just as an example. Reading it again, for that example, they're actually proposing this: ```html <template type="with-for-each" id="list"> <ul> <template directive="foreach" expression="items"> <li class={{class}} data-value={{value}}>{{label}}</li> </template> </ul> </template> ``` Still though, at the start of the proposal they talked about a "standardized template language" and referenced mustache as one possibility among many which seemed to imply to me that they proposed native parsing by the browser of one (or more) of the competing templating systems out there. But `<template directive="foreach" expression="items">` certainly isn't mustache. So I guess I'm a bit confused as to what they're proposing if it isn't native mustache parsing (or native parsing of a similar templating syntax) in the browser. What am I missing? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/695#issuecomment-344130793
Received on Tuesday, 14 November 2017 02:57:42 UTC