- Source:
Methods
(static) generateTimeCharts(processed)
- Source:
Returns the JSON data for all of the time chart options
Parameters:
| Name | Type | Description |
|---|---|---|
processed |
object | The processed post data. |
(static) ImportJSON()
- Source:
This function imports a processed JSON file and opens the infographics page
(static) main(tab)
- Source:
Called when the toolbar button is clicked.
Parameters:
| Name | Type | Description |
|---|---|---|
tab |
object | The current open tab. |
(static) parseJSON(data)
- Source:
This function receives the JSON data from reddit page
Parameters:
| Name | Type | Description |
|---|---|---|
data |
string | The downloaded JSON data |
(static) Popup()
- Source:
Generates popup iframe