| 1 |
/* Word Cloud — frontend */ |
| 2 |
(function () { |
| 3 |
'use strict'; |
| 4 |
|
| 5 |
/* CSS handles scale hover via [data-hover="scale"]:hover. |
| 6 |
No JS needed unless we add click-to-filter in future. |
| 7 |
This file intentionally minimal — kept for future extension. */ |
| 8 |
|
| 9 |
function init() { |
| 10 |
/* Nothing to initialise: all effects are pure CSS. |
| 11 |
Words with links are <a> tags; others are <span>. */ |
| 12 |
} |
| 13 |
|
| 14 |
if (document.readyState === 'loading') { |
| 15 |
document.addEventListener('DOMContentLoaded', init); |
| 16 |
} else { |
| 17 |
init(); |
| 18 |
} |
| 19 |
}()); |
| 20 |
|