googlearchive / TemplateBinding

TemplateBinding Prolyfill
290 stars 61 forks source link

Warn on missing closing }} #172

Open arv opened 10 years ago

arv commented 10 years ago

Given the following:

<template bind>
  {{ xyz
</template>

We should console.warn here.

eseidel commented 10 years ago

<template if='xyz}}'></template> would also be nice to warn on. Or hell, even <template if='xyz'>. Like compilers warn when you make a syntax error or your if clause evaluates to a constant, seems fitting for Polymer's template compiler to too.