Skip to content

Commit

Permalink
Cleaning up for PR
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarParra committed Nov 3, 2023
1 parent 66be686 commit ae4710b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import TwElement from "c/twElement";
import { refreshApex } from '@salesforce/apex';
import {refreshApex} from '@salesforce/apex';
import evaluate from '@salesforce/apex/FormulaEvaluatorUiController.evaluate';
import { CurrentPageReference } from "lightning/navigation";
import { wire } from "lwc";
import {CurrentPageReference} from "lightning/navigation";
import {wire} from "lwc";

export default class ExpressionSiteElement extends TwElement {
// These 4 need to be set by the extending class as `@api` properties.
Expand All @@ -16,6 +16,7 @@ export default class ExpressionSiteElement extends TwElement {
error;
contextId = null
evaluatedWire;

connectedCallback() {
window.addEventListener('expression_refresh', this.refreshHandler);
}
Expand Down Expand Up @@ -46,7 +47,6 @@ export default class ExpressionSiteElement extends TwElement {
}

refreshHandler = () => {
console.log('refreshHandler');
return refreshApex(this.evaluatedWire);
}

Expand Down Expand Up @@ -80,5 +80,6 @@ export default class ExpressionSiteElement extends TwElement {
return false;
}

validate() {}
validate() {
}
}
6 changes: 6 additions & 0 deletions expression-src/main/src/helpers/tests/AstPrinterTest.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@IsTest
private class AstPrinterTest {
@IsTest
static void testBehavior() {
}
}
File renamed without changes.
13 changes: 0 additions & 13 deletions src-pull/classes/UpdateAccount.cls

This file was deleted.

0 comments on commit ae4710b

Please sign in to comment.