Fixed bug in For Loop #136

Closed
wants to merge 1 commit into
from
View
@@ -222,6 +222,9 @@ window.matchMedia = window.matchMedia || (function(doc, undefined){
}
for( var i in mediastyles ){
+ if (!mediastyles.hasOwnProperty(i)) {
+ continue;
+ }
var thisstyle = mediastyles[ i ],
min = thisstyle.minw,
max = thisstyle.maxw,