Skip to content

Commit eb5ffe5

Browse files
committed
Resolve rules around packages
1 parent 2951134 commit eb5ffe5

File tree

1 file changed

+5
-25
lines changed

1 file changed

+5
-25
lines changed

CONTRIBUTING.md

+5-25
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,11 @@ Contents:
1515
Packages
1616
========
1717

18-
TODO: Pending discussion in #545
19-
20-
TODO: Put DOMParser in `dom` with its extra types in its companion object
21-
TODO: Put `webgl/extensions` in `webgl`
22-
23-
```
24-
org.scalajs.dom — All top-level facades
25-
+-- beacon — Beacon API
26-
+-- crypto — Crypto API
27-
+-- deviceorientation — Device Orientation API
28-
+-- domparser — DOMParser API
29-
+-- ext — Scala helpers for nicer usage
30-
+-- gamepad — Gamepad API
31-
+-- intl — Internationalization API
32-
+-- mediastream — MediaStream API
33-
+-- permissions — Permissions API
34-
+-- push — Push API
35-
+-- raw — deprecated. Remains only for backwards-compatibility
36-
+-- serviceworkers — Service Workers API
37-
+-- sharedworkers —
38-
+-- storage — Storage API
39-
+-- webgl — WebGL API
40-
|   +-- extensions —
41-
+-- webrtc — WebRTC API
42-
```
18+
In v1.x, there used to be sub-packages grouping some parts of the DOM API by major feature.
19+
In v2.x, we've decided to put everything in `org.scalajs.dom` and get rid of sub-packages.
20+
21+
The reason for this change is that the real DOM API isn't namespaced in anyway, and the decision
22+
whether to group in a package or not, was subjective and inconsistent.
4323

4424

4525
Files

0 commit comments

Comments
 (0)