Permalink
Browse files

Don't expose the context as window property

  • Loading branch information...
1 parent 930bb8a commit 904bc980c80bb58dfa244762699ea5f17cd508f9 @fgnass committed Apr 6, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/express-jsdom.js
View
2 lib/express-jsdom.js
@@ -213,7 +213,7 @@ Dom.prototype.createHandler = function(aspects) {
ctx.req = req;
ctx.res = new Response(res, ctx);
ctx.app = req.app;
- window.context = ctx;
+ //window.context = ctx;
allAspects.forEach(function(aspect) {
if (aspect.apply) {

0 comments on commit 904bc98

Please sign in to comment.