modif comtabilite
This commit is contained in:
+1
@@ -36,6 +36,7 @@ Caseless.prototype.get = function (name) {
|
||||
}
|
||||
Caseless.prototype.swap = function (name) {
|
||||
var has = this.has(name)
|
||||
if (has === name) return
|
||||
if (!has) throw new Error('There is no header than matches "'+name+'"')
|
||||
this.dict[name] = this.dict[has]
|
||||
delete this.dict[has]
|
||||
|
||||
Reference in New Issue
Block a user