thatcher / openseadragon

This project has moved to its new github organization at github.com/openseadragon, please join us!
http://openseadragon,github.com/
37 stars 14 forks source link

Viewer.open has a dependency on window.viewer #1

Closed josh1093 closed 12 years ago

josh1093 commented 12 years ago

In viewer.js, on line 410:

if ( this._lastOpenStartTime < viewer._lastOpenStartTime ) {
   $.console.log( "Ignoring out-of-date open." );if ( this._lastOpenStartTime < viewer._lastOpenStartTime ) {

This will fail if window.viewer is not defined.

thatcher commented 12 years ago

I did integrate this into my branch since it was an obvious ''Doh!". When I commit I'll note your contribution.

Thanks again.

thatcher commented 12 years ago

committed with kudos to you. 0.9.11

thatcher commented 12 years ago

meant to close this, sorry