diff --git a/index.js b/index.js index b853424..3474bbf 100755 --- a/index.js +++ b/index.js @@ -194,6 +194,7 @@ module.exports = function(uri, failCb, successCb) { openUriUsingIEInOlderWindows(uri, failCallback, successCallback); } else { //not supported, implement please + failCallback(); } } } diff --git a/package.json b/package.json index 3bc2d9d..d36df83 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "custom-protocol-detection", - "version": "1.0.0", + "version": "1.0.1", "description": "Detect whether a custom protocol is available in browser (FF, Chrome, IE8, IE9, IE10, IE11, and Edge)", "main": "index.js", "scripts": { diff --git a/protocolcheck.js b/protocolcheck.js index dadc4ea..c3c2ed4 100644 --- a/protocolcheck.js +++ b/protocolcheck.js @@ -1,4 +1,4 @@ -(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.protocolCheck = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o