@expressen/tallahassee
Advanced tools
Comparing version 14.12.0 to 14.13.0
"use strict"; | ||
const DOMException = require("domexception"); | ||
const { Event } = require("./Events.js"); | ||
@@ -18,4 +19,10 @@ const HTMLElement = require("./HTMLElement.js"); | ||
showModal() { | ||
if (this.open) { | ||
throw new DOMException("Failed to execute 'showModal' on 'HTMLDialogElement': The element already has an 'open' attribute, and therefore cannot be opened modally."); | ||
} | ||
this.open = true; | ||
} | ||
show() { | ||
this.open = true; | ||
} | ||
close() { | ||
@@ -22,0 +29,0 @@ this.open = false; |
{ | ||
"name": "@expressen/tallahassee", | ||
"version": "14.12.0", | ||
"version": "14.13.0", | ||
"description": "Lightweight client testing framework", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
127446
3898