UNPKG

notifyjs

Version:

A handy wrapper for the Web Notifications API

7 lines (6 loc) 242 B
export default (function (self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; })