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
| /* | |
| Usage (I however think that the code is self explanatory) | |
| <ReactComment text={` | |
| Very long comment with html link | |
| <a href="https://gist.github.com/alexeychikk/bfe72a072a9a962f2da900b6151e4aae">Star me :)</a> | |
| `} /> | |
| */ | |
| import React, {Component, PropTypes} from 'react'; |
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
| #!/bin/env python | |
| import yaml | |
| import sys | |
| import json | |
| import argparse | |
| from subprocess import Popen, PIPE | |
| import argparse | |
| import os |
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
| function loadAllComments() { | |
| let needRescheduling = false; | |
| const buttons = Array.from(document.querySelectorAll('button')); | |
| buttons.forEach((button) => { | |
| if (button.classList.contains('ajax-pagination-btn')) { | |
| if(!button.hasAttribute('disabled') && button.innerText === 'Load more…') { | |
| console.log("found", button); | |
| needRescheduling = true; | |
| button.dispatchEvent(new MouseEvent('click', { | |
| bubbles: true, |
OlderNewer