mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
style update
This commit is contained in:
parent
3171390f80
commit
62cb111956
@ -159,15 +159,15 @@ _html2canvas.Preload = function( options ) {
|
||||
if(!value) { return results; }
|
||||
while(n++ < 100 && !!(match = value.match(rxBackgroundImage))) {
|
||||
var def = match[2];
|
||||
if(def.substr(0,1) === '"') {
|
||||
if(def.substr( 0, 1 ) === '"') {
|
||||
def = def.substr(1, def.length-2);
|
||||
}
|
||||
results.push({
|
||||
results.push( {
|
||||
method: match[1],
|
||||
definition: def,
|
||||
value: match[0]
|
||||
});
|
||||
value = value.replace(match[0],'');
|
||||
} );
|
||||
value = value.replace( match[0], '' );
|
||||
}
|
||||
return results;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user