Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 603 Bytes

external.md

File metadata and controls

25 lines (18 loc) · 603 Bytes
title layout section
JSZip.external
default
api

JSZip uses objects that may not exist on every platform, in which case it uses a shim. Accessing or replacing these objects can sometimes be useful. JSZip.external contains the following properties :

  • Promise : the Promise implementation used.

The global object is preferred when available.

Example

// use bluebird instead
JSZip.external.Promise = Bluebird;

// use the native Promise object:
JSZip.external.Promise = Promise;