Skip to content

Commit

Permalink
1.0.2 release with data update
Browse files Browse the repository at this point in the history
  • Loading branch information
rofrischmann committed Mar 7, 2016
1 parent 01dce75 commit a9cede6
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 10 deletions.
5 changes: 4 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Changelog

## 1.0
### 1.0.1
### 1.0.2 (07.03.16)
* fixed a bug that caused crashes if `display` got either `null` or `undefined` assigned ( [#71](https://github.com/rofrischmann/inline-style-prefixer/pull/71#issue-139056802) ) - thanks to [@tintin1343](https://github.com/tintin1343)

### 1.0.1 (01.03.16)
* added `undefined` check for `userAgent` to prevent bowser errors

### 1.0.0 (29.02.16)
Expand Down
6 changes: 3 additions & 3 deletions dist/prefixer.js

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions dist/prefixer.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion modules/plugins/flexboxIE.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const properties = Object.keys(alternativeProps).reduce((result, prop) => {

export default function flexboxIE({ property, value, styles, browserInfo: { browser, version }, prefix: { css }, keepUnprefixed }) {
if (
(properties[property] || property === 'display' && typeof value==='string' && value.indexOf('flex') > -1) &&
(properties[property] || property === 'display' && typeof value === 'string' && value.indexOf('flex') > -1) &&
(
(browser === 'ie_mob' || browser === 'ie') && version == 10)
) {
Expand Down
2 changes: 1 addition & 1 deletion modules/plugins/flexboxOld.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const properties = Object.keys(alternativeProps).concat(otherProps).reduce((resu

export default function flexboxOld({ property, value, styles, browserInfo: { browser, version }, prefix: { css }, keepUnprefixed }) {
if (
(properties[property] || property === 'display' && typeof value==='string' && value.indexOf('flex') > -1) &&
(properties[property] || property === 'display' && typeof value === 'string' && value.indexOf('flex') > -1) &&
(
browser === 'firefox' && version < 22 ||
browser === 'chrome' && version < 21 ||
Expand Down
2 changes: 1 addition & 1 deletion modules/prefixProps.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "inline-style-prefixer",
"version": "1.0.1",
"version": "1.0.2",
"description": "Autoprefixer for inline styles using userAgent and caniuse data",
"main": "lib/Prefixer.js",
"files": [
Expand Down

0 comments on commit a9cede6

Please sign in to comment.