|
|
@ -1113,8 +1113,12 @@ |
|
|
|
header = header.trim(); |
|
|
|
header = header.trim(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (_config.headerTransform) { |
|
|
|
if (typeof _config.headerTransform === 'function') { |
|
|
|
if (typeof _config.headerTransform === 'function') { |
|
|
|
header = _config.headerTransform(header); |
|
|
|
header = _config.headerTransform(header); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
throw 'headerTransform must be a function'; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
_fields.push(header); |
|
|
|
_fields.push(header); |
|
|
|