Skip to content

Commit ce8678d

Browse files
Doc fixes
Co-authored-by: zetashift <rskaraya@gmail.com>
1 parent 12eea31 commit ce8678d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dom/src/main/scala/org/scalajs/dom/Performance.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Performance private[this] () extends js.Object {
3131
/** Returns an array of [[PerformanceEntry]] objects currently present in the performance timeline for a given type */
3232
def getEntriesByType(entryType: String): js.Array[PerformanceEntry] = js.native
3333

34-
/** Is a jsonizer returning a json object representing the Performance object. */
34+
/** Returns a JSON representation of the [[Performance]] object. */
3535
def toJSON(): js.Object = js.native
3636

3737
@deprecated("No such API in the spec", "2.4.0")
@@ -70,7 +70,7 @@ class Performance private[this] () extends js.Object {
7070
/** Removes all or specific [[PerformanceMeasure]] objects from the browser's performance timeline. */
7171
def clearMeasures(measureName: String = js.native): Unit = js.native
7272

73-
/** sets the desired size of the browser's resource timing buffer which stores the "resource" performance entries. */
73+
/** Sets the desired size of the browser's resource timing buffer which stores the "resource" performance entries. */
7474
def setResourceTimingBufferSize(maxSize: Int): Unit = js.native
7575

7676
/** Returns a DOMHighResTimeStamp representing the amount of milliseconds elapsed since the start of the navigation,

0 commit comments

Comments
 (0)