MCPcopy Create free account
hub / github.com/Justineo/github-hovercard / Writer

Function Writer

extensions/firefox/mustache.js:428–430  ·  view source on GitHub ↗

* A Writer knows how to take a stream of tokens and render them to a * string, given a context. It also maintains a cache of templates to * avoid the need to parse the same template twice.

()

Source from the content-addressed store, hash-verified

426 * avoid the need to parse the same template twice.
427 */
428 function Writer () {
429 this.cache = {};
430 }
431
432 /**
433 * Clears all cached templates in this writer.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected