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
efd501f9ce
commit
417af381cb
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user