coins-notify
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -22,3 +22,3 @@ "use strict"; | ||
this.maxQueue = options.maxQueue || 500; | ||
if (!Notify.isSupported) { | ||
if (!window.Notification && !Notify.isSupported()) { | ||
this.isDefault = false; // use alt notifications | ||
@@ -25,0 +25,0 @@ } else if (Notify.permissionLevel === 'granted') { |
{ | ||
"name": "coins-notify", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "show notifications in the browser. use 'growl' like notifications first, or notifyjs (jQuery plugin) as the fallback", | ||
"main": "index.js", | ||
"scripts": { | ||
"testem": "testem ci", | ||
"test": "echo 'please run tests manually via `testem`'", | ||
@@ -8,0 +9,0 @@ "preversion": "git checkout master && git pull && npm ls", |
@@ -47,1 +47,4 @@ [ ![Codeship Status for cdaringe/coins-notify](https://codeship.com/projects/171c47e0-ddab-0132-124a-5604aedd125f/status?branch=master)](https://codeship.com/projects/80303) | ||
- `notifyError` *function* callback | ||
# changelog | ||
- 1.1.5 - improve fallback mode |
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
154059
50