Skip to content

Commit

Permalink
Added Element to the browser globals list.
Browse files Browse the repository at this point in the history
  • Loading branch information
valueof authored and jugglinmike committed Oct 21, 2014
1 parent fc163d1 commit 4ca5471
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/stable/jshint.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ var JSHINT = (function () {
DOMParser : false,
defaultStatus : false,
document : false,
Element : false,
event : false,
FileReader : false,
Float32Array : false,
Expand Down
5 changes: 3 additions & 2 deletions tests/stable/unit/envs.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

"use strict";

var JSHINT = require('../../../src/stable/jshint.js').JSHINT;
var fs = require('fs');
var JSHINT = require('../../../src/stable/jshint.js').JSHINT;
var fs = require('fs');
var TestRun = require("../helpers/testhelper").setup.testRun;

function wrap(globals) {
Expand Down Expand Up @@ -241,6 +241,7 @@ exports.browser = function (test) {
"defaultStatus",
"document",
"event",
"Element",
"FileReader",
"Float32Array",
"Float64Array",
Expand Down

0 comments on commit 4ca5471

Please sign in to comment.