mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-19 17:21:50 +03:00
added class names to viewer canvas and container per macreery's branch
This commit is contained in:
parent
685f58d663
commit
e851de80b8
@ -6,7 +6,7 @@
|
||||
PROJECT: openseadragon
|
||||
BUILD_MAJOR: 0
|
||||
BUILD_MINOR: 9
|
||||
BUILD_ID: 115
|
||||
BUILD_ID: 116
|
||||
BUILD: ${PROJECT}.${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID}
|
||||
VERSION: ${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*globals OpenSeadragon*/
|
||||
|
||||
/**
|
||||
* @version OpenSeadragon 0.9.115
|
||||
* @version OpenSeadragon 0.9.116
|
||||
*
|
||||
* @fileOverview
|
||||
* <h2>
|
||||
@ -3500,7 +3500,9 @@ $.Viewer = function( options ) {
|
||||
|
||||
this.element = this.element || document.getElementById( this.id );
|
||||
this.canvas = $.makeNeutralElement( "div" );
|
||||
//this.container = $.makeNeutralElement( "div" );
|
||||
|
||||
this.canvas.className = "openseadragon-canvas";
|
||||
(function( canvas ){
|
||||
canvas.width = "100%";
|
||||
canvas.height = "100%";
|
||||
@ -3510,6 +3512,7 @@ $.Viewer = function( options ) {
|
||||
canvas.left = "0px";
|
||||
}( this.canvas.style ));
|
||||
|
||||
this.container.className = "openseadragon-container";
|
||||
(function( container ){
|
||||
container.width = "100%";
|
||||
container.height = "100%";
|
||||
|
@ -170,6 +170,7 @@ $.Viewer = function( options ) {
|
||||
this.element = this.element || document.getElementById( this.id );
|
||||
this.canvas = $.makeNeutralElement( "div" );
|
||||
|
||||
this.canvas.className = "openseadragon-canvas";
|
||||
(function( canvas ){
|
||||
canvas.width = "100%";
|
||||
canvas.height = "100%";
|
||||
@ -179,6 +180,8 @@ $.Viewer = function( options ) {
|
||||
canvas.left = "0px";
|
||||
}( this.canvas.style ));
|
||||
|
||||
//the container is created through applying the ControlDock constructor above
|
||||
this.container.className = "openseadragon-container";
|
||||
(function( container ){
|
||||
container.width = "100%";
|
||||
container.height = "100%";
|
||||
|
Loading…
x
Reference in New Issue
Block a user