* Embedly looks for a blockquote with a '-card' suffixed class. * @param {!Window} global * @return {!Element} blockquote
(global)
| 15 | * @return {!Element} blockquote |
| 16 | */ |
| 17 | function getPostContainer(global) { |
| 18 | const blockquote = global.document.createElement('blockquote'); |
| 19 | blockquote.classList.add('reddit-card'); |
| 20 | blockquote.setAttribute('data-card-created', Math.floor(Date.now() / 1000)); |
| 21 | return blockquote; |
| 22 | } |
| 23 | |
| 24 | /** |
| 25 | * @param {!Window} global |
no test coverage detected