Skip to content

rewrite block.js in ES6 syntax#41

Draft
stklcode wants to merge 1 commit into
developfrom
es6
Draft

rewrite block.js in ES6 syntax#41
stklcode wants to merge 1 commit into
developfrom
es6

rewrite block.js in ES6 syntax (#41)

d04195b
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Mar 14, 2026 in 33s

Annotations

Check warning on line 21 in scripts/block.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not use an object literal as default for parameter `state`.

See more on https://sonarcloud.io/project/issues?id=stklcode%3Awp-liveticker&issues=AZzti850t5t5DmIVy8fB&open=AZzti850t5t5DmIVy8fB&pullRequest=41

Check warning on line 22 in scripts/block.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this "switch" statement by "if" statements to increase readability.

See more on https://sonarcloud.io/project/issues?id=stklcode%3Awp-liveticker&issues=AZzti850t5t5DmIVy8fC&open=AZzti850t5t5DmIVy8fC&pullRequest=41