We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 161d7ee commit 8eeb0e7Copy full SHA for 8eeb0e7
tests/unit/testsuite.js
@@ -59,7 +59,9 @@ QUnit.config.urlConfig.push({
59
60
jshintLoaded = false;
61
TestHelpers.testJshint = function( module ) {
62
- if ( QUnit.urlParams.nojshint ) {
+ // Function.prototype.bind check is needed because JSHint doesn't work in ES3 browsers anymore
63
+ // https://github.com/jshint/jshint/issues/1384
64
+ if ( QUnit.urlParams.nojshint || !Function.prototype.bind ) {
65
return;
66
}
67
0 commit comments