sstephenson/ruby-ejs — Issue #1: ReferenceError when variable does not exist
Author: rainerborene
Created: 2011-10-11 14:41:16+00:00
State: open

Hello, Stephenson

I'm getting the following exception when I try to compile a template without any variables.

Uncaught ReferenceError: id is not defined

Suppose I have the following template:

<%= content %>

And I run this with the function:

JST["template"]()

It won't work.