English fixes.

This commit is contained in:
Antoine Vandecreme 2016-01-27 21:49:05 -05:00
parent ea6addb4c8
commit 9dbcd28a5a
2 changed files with 3 additions and 2 deletions

View File

@ -1395,7 +1395,7 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
/** /**
* Add a simple image to the viewer. * Add a simple image to the viewer.
* The options are the same than {@link OpenSeadragon.Viewer#addTiledImage} * The options are the same as the ones in {@link OpenSeadragon.Viewer#addTiledImage}
* except for options.tileSource which is replaced by options.url. * except for options.tileSource which is replaced by options.url.
* @function * @function
* @param {Object} options - See {@link OpenSeadragon.Viewer#addTiledImage} * @param {Object} options - See {@link OpenSeadragon.Viewer#addTiledImage}

View File

@ -195,7 +195,8 @@
viewer.world.addHandler('add-item', function itemAdded(event) { viewer.world.addHandler('add-item', function itemAdded(event) {
viewer.world.removeHandler('add-item', itemAdded); viewer.world.removeHandler('add-item', itemAdded);
equal(event.item.opacity, 0.5, 'Opacity option not set using addSimpleImage'); equal(event.item.opacity, 0.5,
'Opacity option should be set when using addSimpleImage');
start(); start();
}); });