You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<%= message ? message : 'No message' %>
When the variable message === undefined, the compiler throws an exception, even
though a regular IF statement should just evaluate the expression to FALSE.
By the way, this executes correctly:
<%= typeof message != 'undefined' ? message : 'No message' %>
I am using the ejs_1.0_developer release (downloaded two days ago) as a Node.js
module. [Cygwin environment running on Windows 7]
Original issue reported on code.google.com by yannis.k...@gmail.com on 20 Dec 2010 at 7:11
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
yannis.k...@gmail.com
on 20 Dec 2010 at 7:11The text was updated successfully, but these errors were encountered: