@rescript/webapi 0.1.0-experimental-03eae8b → 0.1.0-experimental-9acb3de
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/DOMAPI/Element.res +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescript/webapi",
|
|
3
|
-
"version": "0.1.0-experimental-
|
|
3
|
+
"version": "0.1.0-experimental-9acb3de",
|
|
4
4
|
"description": "Experimental successor to [rescript-webapi](https://github.com/TheSpyder/rescript-webapi)",
|
|
5
5
|
"homepage": "https://rescript-lang.github.io/experimental-rescript-webapi/",
|
|
6
6
|
"bugs": "https://github.com/rescript-lang/experimental-rescript-webapi/issues",
|
package/src/DOMAPI/Element.res
CHANGED
|
@@ -115,7 +115,7 @@ Returns element's first attribute whose qualified name is qualifiedName, and nul
|
|
|
115
115
|
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/getAttribute)
|
|
116
116
|
*/
|
|
117
117
|
@send
|
|
118
|
-
external getAttribute: (T.t, string) => string = "getAttribute"
|
|
118
|
+
external getAttribute: (T.t, string) => null<string> = "getAttribute"
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
121
|
Returns the qualified names of all element's attributes. Can contain duplicates.
|