mikesamuel/es5-lexer
An EcmaScript lexical scanner that is as correct as one can be and produces a token stream that any valid EcmaScript parser will unambiguously interpret.
Prevents XSS by figuring out how to escape untrusted values in templates
This repository is cataloged as part of our automated global GitHub synchronization. Full telemetry, velocity snapshots, and code summaries are scheduled for continuous enrichment.
An EcmaScript lexical scanner that is as correct as one can be and produces a token stream that any valid EcmaScript parser will unambiguously interpret.
Implementation, tests, and benchmarks for the jQuery templates strawman at http://wiki.jqueryui.com/w/page/37898666/Template