Skip to content

Commit

Permalink
jso: fix mistake in javadoc
Browse files Browse the repository at this point in the history
Fix #973
  • Loading branch information
konsoletyper committed Dec 7, 2024
1 parent 447a16d commit cc218fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jso/core/src/main/java/org/teavm/jso/JSMethod.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* <p>Marks abstract member method as a JavaScript method. This is equivalent to the following:</p>
*
* <pre>
* {@literal @}JSBody(params = ..., script = "return new this.methodName(...);")
* {@literal @}JSBody(params = ..., script = "return this.methodName(...);")
* </pre>
*
* <p>where <code>methodName</code> is method's name by default or a name, directly specified by
Expand Down

0 comments on commit cc218fc

Please sign in to comment.