Forked from AvraamMavridis/gist:5c097b76ae3c3fbf33706787fe31aa2b
Last active
April 26, 2020 18:59
-
-
Save vvatikiotis/904a3d4b35b0c8a3ae64fcae9b415214 to your computer and use it in GitHub Desktop.
Browser selection problem
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
/* | |
Comments | |
======== | |
*---* [Jane Smith] Hey [Rob], what do you think about | |
| | switching the roll-out plan over to a faster schedule? | |
*---* | |
{{{ I guess my concern is that we won't learn fast | |
enough, and that will put the project... [See More] | |
[Like] * [Reply] * 12 — October 17 at 2:01 PM — [Edited] | |
*---* [Bill Page] I'm with [Jane] on this one. I'm thinking | |
| | back to the Lightspeed rewrite when we were able to | |
*---* course correct early on }}} and it really helped. | |
Let's loop in some folks from the Fizz... [See More] | |
[Like] * [Reply] — October 17 at 2:12 PM | |
(Text selection begins at "{{{" and ends at "}}}".) | |
*/ | |
function textInRange(a, b) { | |
return ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ο χρηστης επιλεγει με το ποντικι κειμενο που περιεχει κατι απο το πρωτο comment και λίγο από το δευτερο (html nodes), γράψε μια function που θα επιστρεφει μονο το κειμενο (χωρίς like, reply, dates κλπ)