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
Fix the way we access the parse method
  • Loading branch information
FAMarfuaty authored and mhkuu committed Apr 17, 2024
commit 0bc4453899cb3053a37e55f1735075236d9b2e8f
2 changes: 1 addition & 1 deletion packages/js/src/insights/initializer.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const createUpdater = () => {
* @returns {void}
*/
return () => {
const paper = Paper.prototype.parse( collectData() );
const paper = Paper.parse( collectData() );

runResearch( "readingTime", paper ).then( response => setEstimatedReadingTime( response.result ) );
runResearch( "getFleschReadingScore", paper ).then( response => {
Expand Down