mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-31 15:12:07 +03:00
English fixes.
This commit is contained in:
parent
ea6addb4c8
commit
9dbcd28a5a
@ -1395,7 +1395,7 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
|
||||
|
||||
/**
|
||||
* 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.
|
||||
* @function
|
||||
* @param {Object} options - See {@link OpenSeadragon.Viewer#addTiledImage}
|
||||
|
@ -195,7 +195,8 @@
|
||||
|
||||
viewer.world.addHandler('add-item', function itemAdded(event) {
|
||||
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();
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user