browser-supports-log-styles
Advanced tools
Comparing version 1.1.6 to 1.1.7
@@ -10,2 +10,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.browserSupportsLogStyles = 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<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
// edge browser? https://msdn.microsoft.com/en-us/library/hh869301%28v=vs.85%29.aspx | ||
var isEdge = navigator.userAgent.toLowerCase().indexOf('edge') > -1 | ||
// http://stackoverflow.com/a/16459606/376773 | ||
@@ -18,3 +20,3 @@ var isWebkit = 'WebkitAppearance' in document.documentElement.style | ||
return isWebkit || isFirebug || isFirefoxWithLogStyleSupport || false | ||
return (isWebkit && !isEdge) || isFirebug || isFirefoxWithLogStyleSupport || false | ||
} | ||
@@ -21,0 +23,0 @@ |
@@ -1,1 +0,1 @@ | ||
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n;n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,n.browserSupportsLogStyles=e()}}(function(){return function e(n,o,t){function r(f,u){if(!o[f]){if(!n[f]){var d="function"==typeof require&&require;if(!u&&d)return d(f,!0);if(i)return i(f,!0);var p=new Error("Cannot find module '"+f+"'");throw p.code="MODULE_NOT_FOUND",p}var c=o[f]={exports:{}};n[f][0].call(c.exports,function(e){var o=n[f][1][e];return r(o?o:e)},c,c.exports,e,n,o,t)}return o[f].exports}for(var i="function"==typeof require&&require,f=0;f<t.length;f++)r(t[f]);return r}({1:[function(e,n){function o(){if("undefined"==typeof window||"undefined"==typeof document)return!1;var e="WebkitAppearance"in document.documentElement.style,n=window.console&&(window.console.firebug||window.console.exception&&window.console.table)&&!0,o=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31;return e||n||o||!1}n.exports=o},{}]},{},[1])(1)}); | ||
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n;n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,n.browserSupportsLogStyles=e()}}(function(){return function e(n,o,t){function r(f,u){if(!o[f]){if(!n[f]){var d="function"==typeof require&&require;if(!u&&d)return d(f,!0);if(i)return i(f,!0);var s=new Error("Cannot find module '"+f+"'");throw s.code="MODULE_NOT_FOUND",s}var p=o[f]={exports:{}};n[f][0].call(p.exports,function(e){var o=n[f][1][e];return r(o?o:e)},p,p.exports,e,n,o,t)}return o[f].exports}for(var i="function"==typeof require&&require,f=0;f<t.length;f++)r(t[f]);return r}({1:[function(e,n){function o(){if("undefined"==typeof window||"undefined"==typeof document)return!1;var e=navigator.userAgent.toLowerCase().indexOf("edge")>-1,n="WebkitAppearance"in document.documentElement.style,o=window.console&&(window.console.firebug||window.console.exception&&window.console.table)&&!0,t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31;return n&&!e||o||t||!1}n.exports=o},{}]},{},[1])(1)}); |
@@ -9,2 +9,4 @@ module.exports = browserSupportsLogStyles | ||
// edge browser? https://msdn.microsoft.com/en-us/library/hh869301%28v=vs.85%29.aspx | ||
var isEdge = navigator.userAgent.toLowerCase().indexOf('edge') > -1 | ||
// http://stackoverflow.com/a/16459606/376773 | ||
@@ -17,3 +19,3 @@ var isWebkit = 'WebkitAppearance' in document.documentElement.style | ||
return isWebkit || isFirebug || isFirefoxWithLogStyleSupport || false | ||
return (isWebkit && !isEdge) || isFirebug || isFirefoxWithLogStyleSupport || false | ||
} |
@@ -51,3 +51,3 @@ { | ||
}, | ||
"version": "1.1.6" | ||
"version": "1.1.7" | ||
} |
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
7263
37