You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
Copy file name to clipboardexpand all lines: examples/plugin_example.js
+2-2
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@
20
20
// **type_name** (required) : A unique name for this plugin. This name should be as unique as possible to avoid collisions with other plugins, and should follow naming conventions for javascript variable and function declarations.
21
21
"type_name" : "my_datasource_plugin",
22
22
// **display_name** : The pretty name that will be used for display purposes for this plugin. If the name is not defined, type_name will be used instead.
23
-
"display_name": "My Datasource Plugin",
23
+
"display_name": "Datasource Plugin Example",
24
24
// **description** : A description of the plugin. This description will be displayed when the plugin is selected or within search results (in the future). The description may contain HTML if needed.
25
25
"description" : "Some sort of description <strong>with optional html!</strong>",
26
26
// **external_scripts** : Any external scripts that should be loaded before the plugin instance is created.
@@ -190,7 +190,7 @@
190
190
freeboard.loadWidgetPlugin({
191
191
// Same stuff here as with datasource plugin.
192
192
"type_name" : "my_widget_plugin",
193
-
"display_name": "My Widget Plugin",
193
+
"display_name": "Widget Plugin Example",
194
194
"description" : "Some sort of description <strong>with optional html!</strong>",
195
195
// **external_scripts** : Any external scripts that should be loaded before the plugin instance is created.
0 commit comments