Created
December 19, 2016 02:51
-
-
Save JMWebDevelopment/ea294aa054de348ced68f76233cfff38 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
this.getCommentById = function ( commentID, comments_list ) { | |
for ( j = 0; j < comments_list.length; j++ ) { | |
if ( comments_list[j].comment_ID == commentID ) { | |
return comments_list[j]; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment