Created
June 18, 2019 23:03
-
-
Save AlbinoDrought/72bc4d38d2ba30f8679b9a888ab78b80 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
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