Github user martin-g commented on a diff in the pull request:
https://github.com/apache/wicket/pull/244#discussion_r149970025
--- Diff:
wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/wicket-ajaxdownload.js
---
@@ -108,29 +108,32 @@
var disposition =
xhr.getResponseHeader("Content-Disposition");
if (disposition) {
var matches =
/filename[^;=\n]*=(([""]).*?\2|[^;\n]*)/.exec(disposition);
- if (matches != null &&
matches[1]) {
+ if (matches !== null &&
matches[1]) {
--- End diff --
Let's add this .js file to the ones checked by JSLint in
`testing/js-tests/Gruntfile.js
---