Permalink
Browse files

Merge pull request #30 from stereobooster/gh-pages

Update qunit.
  • Loading branch information...
2 parents 949c2d0 + fc7addd commit 7032d3d3d97aabf0a2c96c8155ed077b455aca31 @kangax committed May 22, 2012
Showing with 1,699 additions and 937 deletions.
  1. +1 −1 src/htmllint.js
  2. +1 −1 src/htmlparser.js
  3. +7 −7 tests/lint_test.js
  4. +144 −144 tests/minify_test.js
  5. +1,546 −784 tests/qunit.js
View
@@ -147,4 +147,4 @@
global.HTMLLint = Lint;
-})(typeof exports === 'undefined' ? window : exports);
+})(typeof exports === 'undefined' ? this : exports);
View
@@ -324,4 +324,4 @@
}
return obj;
}
-})(typeof exports === 'undefined' ? window : exports);
+})(typeof exports === 'undefined' ? this : exports);
View
@@ -1,7 +1,7 @@
(function(global){
var minify, QUnit,
- test, equals, ok,
+ test, equal, ok,
input, output, HTMLLint, lint;
if (typeof require === 'function') {
@@ -15,7 +15,7 @@
}
test = QUnit.test;
- equals = QUnit.equals;
+ equal = QUnit.equal;
ok = QUnit.ok;
QUnit.module('', {
@@ -33,11 +33,11 @@
});
test('lint API', function() {
- equals(0, lint.log.length, '`log` property exists');
- equals("function", typeof lint.populate, '`populate` method exists');
- equals("function", typeof lint.test, '`test` method exists');
- equals("function", typeof lint.testElement, '`testElement` method exists');
- equals("function", typeof lint.testAttribute, '`testAttribute` method exists');
+ equal(0, lint.log.length, '`log` property exists');
+ equal("function", typeof lint.populate, '`populate` method exists');
+ equal("function", typeof lint.test, '`test` method exists');
+ equal("function", typeof lint.testElement, '`testElement` method exists');
+ equal("function", typeof lint.testAttribute, '`testAttribute` method exists');
});
test('deprecated element (font)', function(){
Oops, something went wrong.

0 comments on commit 7032d3d

Please sign in to comment.