style update

This commit is contained in:
Andy Edinborough 2012-12-28 12:24:49 -06:00
parent 3171390f80
commit 62cb111956

View File

@ -159,15 +159,15 @@ _html2canvas.Preload = function( options ) {
if(!value) { return results; } if(!value) { return results; }
while(n++ < 100 && !!(match = value.match(rxBackgroundImage))) { while(n++ < 100 && !!(match = value.match(rxBackgroundImage))) {
var def = match[2]; var def = match[2];
if(def.substr(0,1) === '"') { if(def.substr( 0, 1 ) === '"') {
def = def.substr(1, def.length-2); def = def.substr(1, def.length-2);
} }
results.push({ results.push( {
method: match[1], method: match[1],
definition: def, definition: def,
value: match[0] value: match[0]
}); } );
value = value.replace(match[0],''); value = value.replace( match[0], '' );
} }
return results; return results;
} }