better underscores in preload term handling

This commit is contained in:
thejohnhoffer 2016-11-04 10:03:04 -04:00
parent 2915ee09c5
commit cf5825d1fa

View File

@ -163,10 +163,13 @@ $.TiledImage = function( options ) {
crossOriginPolicy: $.DEFAULT_SETTINGS.crossOriginPolicy,
placeholderFillStyle: $.DEFAULT_SETTINGS.placeholderFillStyle,
opacity: $.DEFAULT_SETTINGS.opacity,
_preload: $.DEFAULT_SETTINGS.preload,
preload: $.DEFAULT_SETTINGS.preload,
compositeOperation: $.DEFAULT_SETTINGS.compositeOperation
}, options );
this._preload = this.preload;
delete this.preload;
this._fullyLoaded = false;
this._xSpring = new $.Spring({