From 77ec4f716218085c8bcf3fbe0f840a0f452f76a4 Mon Sep 17 00:00:00 2001 From: David Majda Date: Tue, 28 Sep 2010 20:22:44 +0200 Subject: [PATCH] Little bit cleaner way to protect against |undefined| redefinition --- src/peg.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/peg.js b/src/peg.js index 21dc108..7958148 100644 --- a/src/peg.js +++ b/src/peg.js @@ -1,4 +1,6 @@ -(function(global, undefined) { +(function(global) { + +var undefined; var PEG = { /*