Skip to content

Commit

Permalink
Removes all references to ie_mob
Browse files Browse the repository at this point in the history
  • Loading branch information
outoftime committed Mar 4, 2020
1 parent 03397d7 commit 258b93e
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion benchmark/packages/205/plugins/flexboxIE.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function flexboxIE(_ref) {
var css = _ref.prefix.css;
var keepUnprefixed = _ref.keepUnprefixed;

if ((alternativeProps[property] || property === 'display' && typeof value === 'string' && value.indexOf('flex') > -1) && (browser === 'ie_mob' || browser === 'ie') && version == 10) {
if ((alternativeProps[property] || property === 'display' && typeof value === 'string' && value.indexOf('flex') > -1) && browser === 'ie' && version == 10) {
if (!keepUnprefixed && !Array.isArray(styles[property])) {
delete styles[property];
}
Expand Down
2 changes: 1 addition & 1 deletion benchmark/packages/300/dynamic/plugins/flexboxIE.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function flexboxIE(property, value, style, _ref) {
keepUnprefixed = _ref.keepUnprefixed,
requiresPrefix = _ref.requiresPrefix;

if ((alternativeProps[property] || property === 'display' && typeof value === 'string' && value.indexOf('flex') > -1) && (browserName === 'ie_mob' || browserName === 'ie') && browserVersion === 10) {
if ((alternativeProps[property] || property === 'display' && typeof value === 'string' && value.indexOf('flex') > -1) && browserName === 'ie' && browserVersion === 10) {
delete requiresPrefix[property];

if (!keepUnprefixed && !Array.isArray(style[property])) {
Expand Down
2 changes: 1 addition & 1 deletion benchmark/packages/301/dynamic/plugins/flexboxIE.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function flexboxIE(property, value, style, _ref) {
keepUnprefixed = _ref.keepUnprefixed,
requiresPrefix = _ref.requiresPrefix;

if ((alternativeProps.hasOwnProperty(property) || property === 'display' && typeof value === 'string' && value.indexOf('flex') > -1) && (browserName === 'ie_mob' || browserName === 'ie') && browserVersion === 10) {
if ((alternativeProps.hasOwnProperty(property) || property === 'display' && typeof value === 'string' && value.indexOf('flex') > -1) && browserName === 'ie' && browserVersion === 10) {
delete requiresPrefix[property];

if (!keepUnprefixed && !Array.isArray(style[property])) {
Expand Down
2 changes: 1 addition & 1 deletion benchmark/packages/302/dynamic/plugins/flexboxIE.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function flexboxIE(property, value, style, _ref) {
keepUnprefixed = _ref.keepUnprefixed,
requiresPrefix = _ref.requiresPrefix;

if ((alternativeProps.hasOwnProperty(property) || property === 'display' && typeof value === 'string' && value.indexOf('flex') > -1) && (browserName === 'ie_mob' || browserName === 'ie') && browserVersion === 10) {
if ((alternativeProps.hasOwnProperty(property) || property === 'display' && typeof value === 'string' && value.indexOf('flex') > -1) && browserName === 'ie' && browserVersion === 10) {
delete requiresPrefix[property];

if (!keepUnprefixed && !Array.isArray(style[property])) {
Expand Down
1 change: 0 additions & 1 deletion docs/api/generator/generateData.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ const browserList = {
ios_saf: 8,
safari: 8,
ie: 11,
ie_mob: 11,
edge: 12,
opera: 16,
op_mini: 12,
Expand Down
1 change: 0 additions & 1 deletion docs/guides/CustomPrefixer.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const browserList = {
ios_saf: 8,
safari: 8,
ie: 11,
ie_mob: 11,
edge: 12,
opera: 16,
op_mini: 12,
Expand Down
1 change: 0 additions & 1 deletion generateDefaultData.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const defaultBrowserSupport = {
ios_saf: 9,
safari: 9,
ie: 11,
ie_mob: 11,
edge: 12,
opera: 30,
op_mini: 12,
Expand Down
2 changes: 0 additions & 2 deletions modules/__tests__/createPrefixer-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ const browserList = {
ios_saf: 0,
safari: 0,
ie: 0,
ie_mob: 0,
edge: 0,
opera: 0,
op_mini: 0,
Expand Down Expand Up @@ -346,7 +345,6 @@ describe('Static Prefixer', () => {
const input = { writingMode: 'horizontal-tb' }
const output = {
WebkitWritingMode: 'horizontal-tb',
msWritingMode: 'horizontal-tb',
writingMode: 'horizontal-tb',
}
expect(prefix(input)).toEqual(output)
Expand Down
1 change: 0 additions & 1 deletion modules/generator/generatePrefixMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ const prefixBrowserMap = {
and_chr: 'Webkit',
and_uc: 'Webkit',
op_mini: 'Webkit',
ie_mob: 'ms',
}

// remove flexprops from IE
Expand Down
3 changes: 0 additions & 3 deletions modules/generator/maps/pluginMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ export default {
opera: 16,
},
flexboxIE: {
ie_mob: 11,
ie: 11,
},
flexboxOld: {
Expand All @@ -66,7 +65,6 @@ export default {
grid: {
edge: 16,
ie: 11,
ie_mob: 11,
},
imageSet: {
chrome: maximumVersion,
Expand Down Expand Up @@ -103,7 +101,6 @@ export default {
and_uc: maximumVersion,
ios_saf: maximumVersion,
msie: maximumVersion,
ie_mob: maximumVersion,
edge: maximumVersion,
firefox: maximumVersion,
op_mini: maximumVersion,
Expand Down

0 comments on commit 258b93e

Please sign in to comment.