diff --git a/build.properties b/build.properties
index 0e5dba9d..e5bc4803 100644
--- a/build.properties
+++ b/build.properties
@@ -6,6 +6,10 @@
PROJECT: openseadragon
BUILD_MAJOR: 0
BUILD_MINOR: 8
-BUILD_ID: 07
+BUILD_ID: 08
BUILD: ${PROJECT}.${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID}
VERSION: ${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID}
+
+# This is the location of where we want to copy the built js file
+# and other distributables like images.
+WWW: ../www/openseadragon/
diff --git a/build.xml b/build.xml
index a6228387..443f5228 100644
--- a/build.xml
+++ b/build.xml
@@ -5,10 +5,13 @@
-
+
Build file for Zoomable User Interface HTML5 project OpenSeadragon.
+
+
+
@@ -54,6 +57,8 @@
+
+
diff --git a/openseadragon.js b/openseadragon.js
index b75dea54..c3e62eed 100644
--- a/openseadragon.js
+++ b/openseadragon.js
@@ -3,7 +3,7 @@
* (c) 2010 OpenSeadragon
* (c) 2010 CodePlex Foundation
*
- * OpenSeadragon 0.8.0
+ * OpenSeadragon 0.8.08
* ----------------------------------------------------------------------------
*
* License: New BSD License (BSD)
@@ -197,6 +197,8 @@ OpenSeadragon = window.OpenSeadragon || (function(){
return target;
};
+ $.Debug = window.console ? window.console : function(){};
+
}( OpenSeadragon ));
(function($){
@@ -2106,7 +2108,7 @@ $.Viewer.prototype = {
this._prevContainerSize = $.Utils.getWindowSize();
// mouse will be inside container now
- onContainerEnter( this );
+ $.delegate( this, onContainerEnter )();
} else {
@@ -2126,7 +2128,7 @@ $.Viewer.prototype = {
this._prevContainerSize = $.Utils.getElementSize( this.element );
// mouse will likely be outside now
- onContainerExit( this );
+ $.delegate( this, onContainerExit )();
}
@@ -2230,8 +2232,8 @@ function updateControlsFade( viewer ) {
opacity = Math.min( 1.0, opacity );
opacity = Math.max( 0.0, opacity );
- for ( i = this.controls.length - 1; i >= 0; i--) {
- this.controls[ i ].setOpacity( opacity );
+ for ( i = viewer.controls.length - 1; i >= 0; i--) {
+ viewer.controls[ i ].setOpacity( opacity );
}
if ( opacity > 0 ) {
diff --git a/src/openseadragon.js b/src/openseadragon.js
index 982bab70..3cb0e74a 100644
--- a/src/openseadragon.js
+++ b/src/openseadragon.js
@@ -197,4 +197,6 @@ OpenSeadragon = window.OpenSeadragon || (function(){
return target;
};
+ $.Debug = window.console ? window.console : function(){};
+
}( OpenSeadragon ));
diff --git a/src/viewer.js b/src/viewer.js
index 350f3b51..41afb3a9 100644
--- a/src/viewer.js
+++ b/src/viewer.js
@@ -666,7 +666,7 @@ $.Viewer.prototype = {
this._prevContainerSize = $.Utils.getWindowSize();
// mouse will be inside container now
- onContainerEnter( this );
+ $.delegate( this, onContainerEnter )();
} else {
@@ -686,7 +686,7 @@ $.Viewer.prototype = {
this._prevContainerSize = $.Utils.getElementSize( this.element );
// mouse will likely be outside now
- onContainerExit( this );
+ $.delegate( this, onContainerExit )();
}
@@ -790,8 +790,8 @@ function updateControlsFade( viewer ) {
opacity = Math.min( 1.0, opacity );
opacity = Math.max( 0.0, opacity );
- for ( i = this.controls.length - 1; i >= 0; i--) {
- this.controls[ i ].setOpacity( opacity );
+ for ( i = viewer.controls.length - 1; i >= 0; i--) {
+ viewer.controls[ i ].setOpacity( opacity );
}
if ( opacity > 0 ) {