Created
October 13, 2011 08:52
-
-
Save eivindingebrigtsen/1283773 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){ | |
var arr = SB.data.storage.accounts['91002064265'].categorization.matches['80850'].transactions; | |
var ob = {}; | |
var length = 0; | |
for(var a in arr){ | |
if(arr[a] in ob){ | |
console.error(arr[a], ob[arr[a]]); | |
}else{ | |
var trx = SB.find.Transaction(arr[a]); | |
if(trx.accountNumber !== '91002064265'){ | |
length++; | |
console.warn(trx, trx.accountNumber); | |
} | |
ob[arr[a]] = true; | |
} | |
} | |
return arr.length - length; | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment