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 8f299be commit 66bbc71Copy full SHA for 66bbc71
scalac-scoverage-runtime/js/src/main/scala/scalajssupport/RhinoFile.scala
@@ -1,11 +1,11 @@
1
package scalajssupport
2
3
import scala.scalajs.js
4
-import scala.scalajs.js.annotation.JSName
+import scala.scalajs.js.annotation.JSGlobal
5
6
import js.Dynamic.{ global => g, newInstance => jsnew }
7
8
-@JSName("Packages.java.io.File")
+@JSGlobal("Packages.java.io.File")
9
@js.native
10
class NativeRhinoFile(path: String, child: String) extends js.Object {
11
def this(path: String) = this("", path)
0 commit comments