Skip to content
This repository has been archived by the owner on Dec 23, 2017. It is now read-only.

jQuery 3.2.1 #1986

Merged
merged 4 commits into from
May 10, 2017
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"handlebars": "^4.0.5",
"hbsfy": "2.2.1",
"intl": "1.0.0-rc-4",
"jquery": "2.2.4",
"jquery": "3.2.1",
"jquery.inputmask": "3.2.7",
"keyboardjs": "0.4.2",
"leaflet": "0.7.7",
Expand Down
2 changes: 1 addition & 1 deletion static/js/modules/download.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ DownloadItem.prototype.refresh = function() {
contentType: 'application/json',
dataType: 'json'
});
this.promise.then(this.handleSuccess.bind(this));
this.promise.done(this.handleSuccess.bind(this));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting, this required a change to done? In reading the guide I would've thought then would still be preferred as that is the new way forward with the Deferred object changes. It appears we're still using the old style, though, according to this part, which would make sense given this change.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, I was confused about this too. But there was an issue with the wrong context not being passed and this solution fixed it. Since it's a test and not a feature, seemed ok to just leave it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good to me! Should we work in the fec-style version bump in this PR to just ensure full testing of the updates?

Copy link
Contributor Author

@noahmanger noahmanger May 10, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good.

this.promise.fail(this.handleError.bind(this));
};

Expand Down