ejs icon indicating copy to clipboard operation
ejs copied to clipboard

options.scope no longer has effect in render

Open hpaulj opened this issue 12 years ago • 0 comments

https://github.com/visionmedia/ejs/issues/122 Correct https://github.com/visionmedia/ejs/pull/79 so scope works.

Replaces the (function (){})() with (function (){}).call(this)

Includes a test file that passes locals and scope to the compiled template. 0.8.3 fails the tests that involve a named function. 0.8.4 fails the tests that involve the scope.

hpaulj avatar Jun 25 '13 05:06 hpaulj