Skip to content
Open
2 changes: 1 addition & 1 deletion examples/app-plugins/clock/clock-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
*/

export class Plugin extends AppPlugin {
class Plugin extends AppPlugin {

onLoad() {
this.addLiveTimeToStatusBar();
Expand Down
2 changes: 1 addition & 1 deletion examples/app-plugins/robot-cursor/robot-cursor-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
import walker from './walker-8f2.png';

export class Plugin extends AppPlugin {
class Plugin extends AppPlugin {

onLoad() {

Expand Down
2 changes: 1 addition & 1 deletion examples/app-plugins/weather/example-weather-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* - Using the ui.addStatusBarItem() method to add a status bar item
*/

export class Plugin extends AppPlugin {
class Plugin extends AppPlugin {

onLoad() {
this.statusBarItem = this.ui.addStatusBarItem({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*
*/

export class Plugin extends CollectionPlugin {
class Plugin extends CollectionPlugin {

onLoad() {

Expand Down
2 changes: 1 addition & 1 deletion examples/collection-plugins/globe-view/globe-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const THREE_JS_URL = 'https://cdnjs.cloudflare.com/ajax/libs/three.js/r134/three
const ORBIT_CONTROLS_URL = 'https://cdn.jsdelivr.net/npm/three@0.134.0/examples/js/controls/OrbitControls.js';


export class Plugin extends CollectionPlugin {
class Plugin extends CollectionPlugin {

/**
* Helper function to load a script and wait for it to be fully available
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

const KANBAN_WIP_LIMIT = 3;

export class Plugin extends CollectionPlugin {
class Plugin extends CollectionPlugin {

onLoad() {
this.views.afterRenderBoardCard(null, ({ record, view, element, columnElement }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* - Using "link to another record" property type as a foreign key of sorts, to link cards together (to show the dependency)
*/

export class Plugin extends CollectionPlugin {
class Plugin extends CollectionPlugin {

/**
* @param {PluginRecord} otherCard - other card
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

const KANBAN_WIP_LIMIT = 3;

export class Plugin extends CollectionPlugin {
class Plugin extends CollectionPlugin {

onLoad() {
console.log("Kanban WIP plugin loaded");
Expand Down
4 changes: 2 additions & 2 deletions examples/collection-plugins/org-chart/organogram-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* | Mina | Grace |
*/

export class Plugin extends CollectionPlugin {
class Plugin extends CollectionPlugin {

onLoad() {
console.log("People plugin loaded");
Expand Down Expand Up @@ -289,4 +289,4 @@ export class Plugin extends CollectionPlugin {
});

}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* - Using the viewContext to open records in other panels
*/

export class Plugin extends CollectionPlugin {
class Plugin extends CollectionPlugin {

onLoad() {
// Register a custom view for the specified view name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*
*/

export class Plugin extends CollectionPlugin {
class Plugin extends CollectionPlugin {

onLoad() {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*
*/

export class Plugin extends CollectionPlugin {
class Plugin extends CollectionPlugin {

onLoad() {

Expand Down
6 changes: 3 additions & 3 deletions plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Extend from one of the two classes.
*
* export class Plugin extends AppPlugin {
* class Plugin extends AppPlugin {
*
* onLoad() {
* this.ui.addToaster({
Expand All @@ -19,7 +19,7 @@
*
* or:
*
* export class Plugin extends CollectionPlugin {
* class Plugin extends CollectionPlugin {
*
* onLoad() {
* this.ui.addToaster({
Expand All @@ -36,7 +36,7 @@
*/


export class Plugin extends AppPlugin {
class Plugin extends AppPlugin {
onLoad() {
this.ui.addToaster({
title: "Hello World",
Expand Down