diff --git a/src/index.js b/src/index.js index 08d7958..251f519 100644 --- a/src/index.js +++ b/src/index.js @@ -941,10 +941,6 @@ export { isMediaBrowserhack } from './atrules/atrules.js' -export { - isBrowserhack as isValueBrowserhack -} from './values/browserhacks.js' - export { isHack as isPropertyHack, } from './properties/property-utils.js' diff --git a/src/index.test.js b/src/index.test.js index ee7cab9..958977b 100644 --- a/src/index.test.js +++ b/src/index.test.js @@ -8,7 +8,6 @@ import { isSelectorPrefixed, isMediaBrowserhack, isSupportsBrowserhack, - isValueBrowserhack, isPropertyHack, isValuePrefixed, hasVendorPrefix, @@ -44,10 +43,6 @@ Api('exposes the "isSupportsBrowserhack" method', () => { assert.is(typeof isSupportsBrowserhack, "function") }) -Api('exposes the "isValueBrowserhack" method', () => { - assert.is(typeof isValueBrowserhack, "function") -}) - Api('exposes the "isPropertyHack" method', () => { assert.is(typeof isPropertyHack, "function") }) diff --git a/src/values/browserhacks.js b/src/values/browserhacks.js index eaadc1f..8e0d1d9 100644 --- a/src/values/browserhacks.js +++ b/src/values/browserhacks.js @@ -14,11 +14,3 @@ export function isIe9Hack(node) { } return false } - -/** - * @param {import('css-tree').Value} node - * @param {boolean|string} important - // i.e. `property: value !ie` - */ -export function isBrowserhack(node, important) { - return isIe9Hack(node) || typeof important === 'string' -} \ No newline at end of file