We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b35ca01 commit ada955cCopy full SHA for ada955c
public/index.html
@@ -133,7 +133,7 @@ <h2 id="output-score" class="text-center d-none fs-4 mb-3">Complexity score: <b>
133
query.classList.remove('is-valid', 'is-invalid');
134
outputScore.classList.add('d-none');
135
136
- const result = await (new window.$sqomplexity({all: true})).run(e.target.value);
+ const result = await (new window.$sqomplexity(e.target.value)).analyze();
137
const score = result[0].complexity;
138
139
output.innerHTML = JSON.stringify(result, null, ' ');
0 commit comments