Skip to content

Commit

Permalink
prevent mixed content warning in ie7, due to @font-face data uri test…
Browse files Browse the repository at this point in the history
…. thx brainbugged. fixes #218
  • Loading branch information
paulirish committed Mar 8, 2011
1 parent 5fd67eb commit 7b27f96
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modernizr.js
@@ -1,5 +1,5 @@
/*!
* Modernizr v1.7
* Modernizr v1.8pre
* http://www.modernizr.com
*
* Developed by:
Expand Down Expand Up @@ -32,12 +32,12 @@

window.Modernizr = (function(window,document,undefined){

var version = '1.7',
var version = '1.8pre',

ret = {},

/**
* !! DEPRECATED !!
* DEPRECATED
*
* enableHTML5 is a private property for advanced use only. If enabled,
* it will make Modernizr.init() run through a brief while() loop in
Expand Down Expand Up @@ -592,7 +592,7 @@ window.Modernizr = (function(window,document,undefined){
.indexOf(rule.split(' ')[0]) === 0;
};

bool = supportAtRule('@font-face { font-family: "font"; src: url(data:,); }');
bool = supportAtRule('@font-face { font-family: "font"; src: url("//:"); }');
head.removeChild(style);
return bool;
};
Expand Down

0 comments on commit 7b27f96

Please sign in to comment.