replace definition property, w/ args[]

Also fix reference for preloader
This commit is contained in:
Andy Edinborough
2012-12-30 11:21:44 -06:00
parent 7e38df782c
commit 0c66766d55
3 changed files with 69 additions and 18 deletions

View File

@@ -133,7 +133,7 @@ _html2canvas.Preload = function( options ) {
img = _html2canvas.Generate.Gradient( background_image.value, _html2canvas.Util.Bounds( el ) );
if ( img !== undefined ){
images[background_image] = {
images[background_image.value] = {
img: img,
succeeded: true
};