has.js
has.js copied to clipboard
Added tests for notification API and dialog element
I had written a small program that utilized the HTML5 Notification API a while back and had made some has.js tests to do feature detection. I had written them as an AMD module, but rewrote them to be more like the other detect scripts and wanted to contribute them to the project.
I was also playing around with the dialog element the other day and wanted to write a feature detect for that as well since, as of right now, it's only supported in Chrome. Is this the correct way to contribute tests?
Also, there doesn't seem to be much commenting in the other scripts so I left my comments out. Is this correct?