Created
August 21, 2017 16:59
-
-
Save Tomen/12105d3200561cb553730bb356191ed6 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
if(data["kontakt-historie"]){ | |
var foo = data["kontakt-historie"]; | |
for(var i = 0; i < foo.length; i++){ | |
element = foo[i]; | |
var coveredElements = ["Veranstaltung"]; | |
if(coveredElements.indexOf(element.channel) === -1){ | |
console.log(element.channel + " " + coveredElements.indexOf(element.channel)); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment