File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -117,17 +117,15 @@ exports.contentDisposition = deprecate.function(contentDisposition,
117
117
/**
118
118
* Parse accept params `str` returning an
119
119
* object with `.value`, `.quality` and `.params`.
120
- * also includes `.originalIndex` for stable sorting
121
120
*
122
121
* @param {String } str
123
- * @param {Number } index
124
122
* @return {Object }
125
123
* @api private
126
124
*/
127
125
128
- function acceptParams ( str , index ) {
126
+ function acceptParams ( str ) {
129
127
var parts = str . split ( / * ; * / ) ;
130
- var ret = { value : parts [ 0 ] , quality : 1 , params : { } , originalIndex : index } ;
128
+ var ret = { value : parts [ 0 ] , quality : 1 , params : { } }
131
129
132
130
for ( var i = 1 ; i < parts . length ; ++ i ) {
133
131
var pms = parts [ i ] . split ( / * = * / ) ;
You can’t perform that action at this time.
0 commit comments