Skip to content

EJS introduces global variables #20

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1) Use EJS.render inside of a QUnit unit test.
2) Load up the unit tests in a browser.
3) Select "noglobals"
4) Rerun unit tests - watch the test turn red because of "scanline, regex, line"

What is the expected output? What do you see instead?
Expected output - no failing tests with "noglobals" checked
Seeing - failing tests due to introduced global variables with "noglobals" 
checked

What version of the product are you using? On what operating system?
EJS 1.0 on OSX.


See attached unit test.  A fix is contained in file under 
qunit_errors/ejs_fixed.js

Original issue reported on code.google.com by set...@gmail.com on 20 Feb 2012 at 1:24

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions