Skip to content

Instantly share code, notes, and snippets.

@AlbinoDrought
Created June 18, 2019 23:03
Show Gist options
  • Save AlbinoDrought/72bc4d38d2ba30f8679b9a888ab78b80 to your computer and use it in GitHub Desktop.
Save AlbinoDrought/72bc4d38d2ba30f8679b9a888ab78b80 to your computer and use it in GitHub Desktop.
thingRoute(thing) {
for (let i = 0; i < this.data[1][0][1].length; i += 1) {
if(this.data[1][0][1][i].name === thing) {
this.things(this.data[1][0][1][i], i);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment