Re: [dom] Is it recommended to use Node.getFeature() or Node.isSupported()?
Boris Zbarsky <[email protected]>
| Newsgroups | gmane.comp.web.dom.general |
|---|---|
| Message-ID | <[email protected]> |
On 8/21/13 8:43 PM, James Craig wrote:
> if (typeof document.body.ondismissrequest !== "undefined") {
Just if ("ondismissrequest" in document.body), I'd think.
-Boris