Skip to content
Myr

removed old dynamic helper logic from the view system

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent d689656 · Browse files · 1 file+0 added−17 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−17 removed

  • other:+0 added−17 removed

1 file+0 added−17 removed

modified:lib/view.js-17 removed
380 unmodified lines
381382 // charset option383 if (options.charset) this.charset = options.charset;384385 // Dynamic helper support386 if (false !== options.dynamic) {387 // cache388 if (!this.__dynamic) {389 this.__dynamic = {};390 for (var key in dynamic) {391 this.__dynamic[key] = dynamic[key].call(392 this.app393 , this.req394 , this);395 }396 }397398 // apply399 merge(options, this.__dynamic);400 }401385 // Merge view locals386 union(options, locals);387388 // Always expose partial() as a local
50 unmodified lines