Permalink
Browse files

Remove deprecated setFile() / getFile() from JX.Request

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...
1 parent 888a4aa commit db1a744f1050b3c0751b638e3fab9156345c67a4 @epriestley epriestley committed Oct 24, 2012
Showing with 0 additions and 18 deletions.
  1. +0 −18 src/lib/Request.js
View
@@ -342,24 +342,6 @@ JX.install('Request', {
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) {
this._data = list_of_pairs;
return this;

0 comments on commit db1a744

Please sign in to comment.