Skip to content
Myr

lint: remove unused parameter from internal function

Before adoption: this commit came in with the history the project adopted, so no landing records it.

coses #5119

authored by Rakesh Bisht · committed by Douglas Christopher Wilson · parent c6ee8d6 · Browse files · 1 file+2 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−4 removed

  • other:+2 added−4 removed

1 file+2 added−4 removed

modified:lib/utils.js+2 added-4 removed
115 unmodified lines
116117/**118 * Parse accept params `str` returning an119 * object with `.value`, `.quality` and `.params`.120 * also includes `.originalIndex` for stable sorting120 *121 * @param {String} str123 * @param {Number} index122 * @return {Object}123 * @api private124 */125128function acceptParams(str, index) {126function acceptParams (str) {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: {} }129130 for (var i = 1; i < parts.length; ++i) {131 var pms = parts[i].split(/ *= */);132 if ('q' === pms[0]) {
170 unmodified lines