Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Td/class syntax #21325

Draft
wants to merge 12 commits into
base: trunk
Choose a base branch
from
Prev Previous commit
Next Next commit
refactor AssessorPresenter to use class
  • Loading branch information
FAMarfuaty authored and mhkuu committed Apr 17, 2024
commit 9d83ec165a3f397fa27970491a5f19a439795916
3 changes: 1 addition & 2 deletions packages/yoastseo/src/scoring/renderers/AssessorPresenter.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { assessmentPresenterResult as template } from "../../snippetPreview/temp
import scoreToRating from "../interpreters/scoreToRating.js";
import createConfig from "../../config/presenter.js";


/**
* Represents the AssessorPresenter.
*/
Expand All @@ -22,7 +21,7 @@ class AssessorPresenter {
*
* @constructor
*/
construct( args ) {
constructor( args ) {
this.keyword = args.keyword;
this.assessor = args.assessor;
this.output = args.targets.output;
Expand Down