equal
deleted
inserted
replaced
28 var offsettime = pageoffset.substring( 2 ); |
28 var offsettime = pageoffset.substring( 2 ); |
29 this._Popcorn.currentTime( parseFloat( offsettime ) ); |
29 this._Popcorn.currentTime( parseFloat( offsettime ) ); |
30 } |
30 } |
31 } else if ( pageoffset.substring(0, 3) === "id=") { |
31 } else if ( pageoffset.substring(0, 3) === "id=") { |
32 // annotation |
32 // annotation |
33 var annotationId = pageoffset.substring( 2 ); |
33 var annotationId = pageoffset.substring( 3 ); |
34 |
|
35 // there's no better way than that because |
34 // there's no better way than that because |
36 // of possible race conditions |
35 // of possible race conditions |
37 this._serializer.sync(IriSP.wrap(this, function() { |
36 this._serializer.sync(IriSP.wrap(this, function() { |
38 this.lookupAnnotation.call(this, annotationId); |
37 this.lookupAnnotation.call(this, annotationId); |
39 })); |
38 })); |