Address more of brendan's comments
This commit is contained in:
parent
27fe18e8c6
commit
2ce00279be
7 changed files with 95 additions and 66 deletions
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/* globals assert, MissingDataException, isInt, NetworkManager, PDFJS,
|
||||
/* globals assert, MissingDataException, isInt, NetworkManager, Promise,
|
||||
isEmptyObj */
|
||||
|
||||
'use strict';
|
||||
|
@ -233,7 +233,7 @@ var ChunkedStreamManager = (function ChunkedStreamManagerClosure() {
|
|||
this.requestsByChunk = {};
|
||||
this.callbacksByRequest = {};
|
||||
|
||||
this.loadedStream = new PDFJS.Promise();
|
||||
this.loadedStream = new Promise();
|
||||
}
|
||||
|
||||
ChunkedStreamManager.prototype = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue