Skip to content

Commit

Permalink
Fix #25, property flex was not detected in IE10
Browse files Browse the repository at this point in the history
  • Loading branch information
codler committed Aug 16, 2014
1 parent 19270ee commit b8452da
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
4 changes: 4 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ I appreciate all feedback, thanks! If you would like to donate you can send to t

## Change log ##

2014-08-16 - **v4.0.1**

* Fix detect property flex in IE10 ([codler](https://github.com/codler) [#25](https://github.com/codler/jQuery-Css3-Finalize/issues/25))

2014-05-24 - **v4.0.0**

Version 4 have been updated to support IE10+ and other modern browsers.
Expand Down
2 changes: 1 addition & 1 deletion css3finalize.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "css3finalize",
"title": "jQuery CSS3 Finalize",
"description": "Automatically add vendor prefixes.",
"version": "4.0.0",
"version": "4.0.1",
"bugs": "https://github.com/codler/jQuery-Css3-Finalize/issues",
"docs": "https://github.com/codler/jQuery-Css3-Finalize",
"download": "https://github.com/codler/jQuery-Css3-Finalize",
Expand Down
15 changes: 5 additions & 10 deletions jquery.css3finalize.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! CSS3 Finalize - v4.0.0 - 2014-05-24 - Automatically add vendor prefixes.
/*! CSS3 Finalize - v4.0.1 - 2014-08-16 - Automatically add vendor prefixes.
* https://github.com/codler/jQuery-Css3-Finalize
* Copyright (c) 2014 Han Lin Yap http://yap.nu; MIT license */
(function ($) {
Expand Down Expand Up @@ -57,15 +57,10 @@
}
}

if (currentPrefix == 'webkit') {
// IE9 dont have transition and only webkit need prefixes
/*
supportRules.push('animation');
supportRules.push('marquee');
supportRules.push('text-stroke');
supportRules.push('transition');
supportRules.push('transition-property');
*/
// IE10 do have flex but the code above didnt detect it so I added manually
if (currentPrefix == 'ms' && supportRules.indexOf('flex') === -1) {
supportRules.push('flex');
} else if (currentPrefix == 'webkit') {
for (var i in div.style) {
if (i.indexOf('webkit') === 0) {
var style = deCamelCase(i);
Expand Down
4 changes: 2 additions & 2 deletions jquery.css3finalize.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b8452da

Please sign in to comment.