Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit 6735f00

Browse files
authored
Merge pull request #172 from exoego/drop-node-deprecation
Drop those deprecated in Node.js v8
2 parents 19a608e + 6dd5b06 commit 6735f00

File tree

1 file changed

+0
-23
lines changed
  • app/current/src/main/scala/io/scalajs/nodejs/console_module

1 file changed

+0
-23
lines changed

app/current/src/main/scala/io/scalajs/nodejs/console_module/Console.scala

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -175,15 +175,6 @@ class Console protected () extends js.Object {
175175
*/
176176
def warn(message: js.Any, optionalParams: js.Any*): Unit = js.native
177177

178-
/**
179-
* This method does not display anything unless used in the inspector.
180-
*
181-
* The `console.markTimeline()` method is the deprecated form of [[timeStamp()]].
182-
* @param label
183-
*/
184-
@deprecated("Use timeStamp instead", "NodeJS 8.0.0")
185-
def markTimeline(label: String = js.native): Unit = js.native
186-
187178
/**
188179
* This method does not display anything unless used in the inspector.
189180
* The `console.profile()` method starts a JavaScript CPU profile with an optional label until [[profileEnd()]] is called.
@@ -205,20 +196,6 @@ class Console protected () extends js.Object {
205196
* The `console.timeStamp()` method adds an event with the label `'label'` to the **Timeline** panel of the inspector.
206197
*/
207198
def timeStamp(label: String = js.native): Unit = js.native
208-
209-
/**
210-
* This method does not display anything unless used in the inspector.
211-
* The `console.timeline()` method is the deprecated form of [[time()]].
212-
*/
213-
@deprecated("Use time instead", "NodeJS 8.0.0")
214-
def timeline(label: String = js.native): Unit = js.native
215-
216-
/**
217-
* This method does not display anything unless used in the inspector.
218-
* The `console.timelineEnd()` method is the deprecated form of [[timeEnd()]].
219-
*/
220-
@deprecated("Use time instead", "NodeJS 8.0.0")
221-
def timelineEnd(label: String = js.native): Unit = js.native
222199
}
223200

224201
/**

0 commit comments

Comments
 (0)