Skip to content

Commit

Permalink
Remove deprecated setFile() / getFile() from JX.Request
Browse files Browse the repository at this point in the history
Summary: I'll hold this for a bit just in case anyone in the wild is using Javelin to handle drag-and-drop uploads, but it sounds like we're clear in both Phabricator and Facebook. See D3727, D3769.

Test Plan: What could go wrong?

Reviewers: paulshen, mnml0

Reviewed By: mnml0

CC: aran

Differential Revision: https://secure.phabricator.com/D3770
  • Loading branch information
epriestley committed Oct 24, 2012
1 parent 888a4aa commit db1a744
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/lib/Request.js
Expand Up @@ -342,24 +342,6 @@ JX.install('Request', {
return this; return this;
}, },


setFile : function(file) {
if (__DEV__) {
JX.$E(
'JX.Request.setFile(): ' +
'DEPRECATED. Use JX.Request.setRawData instead.');
}
return this.setRawData(file);
},

getFile : function() {
if (__DEV__) {
JX.$E(
'JX.Request.getFile(): ' +
'DEPRECATED. Use JX.Request.getRawData instead.');
}
return this.getRawData();
},

setDataWithListOfPairs : function(list_of_pairs) { setDataWithListOfPairs : function(list_of_pairs) {
this._data = list_of_pairs; this._data = list_of_pairs;
return this; return this;
Expand Down

0 comments on commit db1a744

Please sign in to comment.