Web lint tests should work now.
authorXhmikosR <xhmikosr@users.sourceforge.net>
Tue, 15 Jul 2014 18:06:40 +0000 (21:06 +0300)
committerXhmikosR <xhmikosr@users.sourceforge.net>
Tue, 15 Jul 2014 18:06:40 +0000 (21:06 +0300)
tests/lint.js

index 429e9fb..9b603b9 100644 (file)
@@ -3,7 +3,7 @@
   'use strict';
 
   var minify = global.minify || require('../dist/htmlminifier.js').minify,
-      HTMLLint = HTMLLint || require('../dist/htmlminifier.js').HTMLLint,
+      HTMLLint = global.HTMLLint || require('../dist/htmlminifier.js').HTMLLint,
       lint = new HTMLLint();
 
   test('lint exists', function() {