Skip to content

plotly.min.js overrides Promise #1032

Closed
@zllovesuki

Description

@zllovesuki

When using plotly.js with Bluebird (global scope, without Bluebird.noConflict()), loading plotly.js seems to overrides the Promise.

Bluebird 3.4.6
Plotly.js 1.17.3
Chrome 53.0.2785.143 m (64-bit)

Try this:

  1. Load Bluebird
  2. Load Plotly.js
  3. Promise.all([]).spread()

Expected Results:
3 returns a Promise

Actual Result:
Promise.all(..).spread(..) is not a function

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions