Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
LeaVerou committed Jul 24, 2012
1 parent 6184c0b commit c8037ad
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
12 changes: 5 additions & 7 deletions prefixfree.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* StyleFix 1.0.3
* StyleFix 1.0.3 & PrefixFree 1.0.6
* @author Lea Verou
* MIT license
*/
Expand Down Expand Up @@ -122,9 +122,9 @@ var self = window.StyleFix = {
.splice(index === undefined? self.fixers.length : index, 0, fixer);
},

fix: function(css, raw) {
fix: function(css, raw, element) {
for(var i=0; i<self.fixers.length; i++) {
css = self.fixers[i](css, raw) || css;
css = self.fixers[i](css, raw, element) || css;
}

return css;
Expand Down Expand Up @@ -157,11 +157,9 @@ function $(expr, con) {
})();

/**
* PrefixFree 1.0.6
* @author Lea Verou
* MIT license
* PrefixFree
*/
(function(root, undefined){
(function(root){

if(!window.StyleFix || !window.getComputedStyle) {
return;
Expand Down
7 changes: 5 additions & 2 deletions prefixfree.min.js

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

0 comments on commit c8037ad

Please sign in to comment.