diff --git a/vendor/qunit-extras/qunit-extras.js b/vendor/qunit-extras/qunit-extras.js index ba536e1c4..e2d6f1f79 100644 --- a/vendor/qunit-extras/qunit-extras.js +++ b/vendor/qunit-extras/qunit-extras.js @@ -154,7 +154,7 @@ phantom = context.phantom, process = phantom || context.process, document = !phantom && context.document, - java = context.java; + java = !document && context.java; /** Detect the OS of the platform */ var os = (function() {