From fc7addd7c7952c351e63f204957c508a18d4482a Mon Sep 17 00:00:00 2001 From: slavic Date: Tue, 22 May 2012 02:11:32 +0300 Subject: [PATCH] use this instead of window --- src/htmllint.js | 2 +- src/htmlparser.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/htmllint.js b/src/htmllint.js index f61d579..027c0de 100644 --- a/src/htmllint.js +++ b/src/htmllint.js @@ -147,4 +147,4 @@ global.HTMLLint = Lint; -})(typeof exports === 'undefined' ? window : exports); \ No newline at end of file +})(typeof exports === 'undefined' ? this : exports); \ No newline at end of file diff --git a/src/htmlparser.js b/src/htmlparser.js index 50ccbcb..2795676 100644 --- a/src/htmlparser.js +++ b/src/htmlparser.js @@ -324,4 +324,4 @@ } return obj; } -})(typeof exports === 'undefined' ? window : exports); \ No newline at end of file +})(typeof exports === 'undefined' ? this : exports); \ No newline at end of file -- 2.34.1