PixelsCommander / Propeller

JavaScript library to rotate elements with mouse or touch gestures. Supports inertia and stepwise rotation. Optimized for better performance.
http://pixelscommander.com/polygon/propeller/
409 stars 58 forks source link

es6 import returns empty object #22

Open jzimmek opened 8 years ago

jzimmek commented 8 years ago

the import of Propeller returns an empty object instead of a constructor function.

import Propeller from "Propeller/src/propeller"

luckily i can workaround it by directly accessing "window.Propeller" after the import statement, but it would be better to export the correct constructor function.

i use es6 import through webpack/babel.

PixelsCommander commented 7 years ago

Hi . Could you introduce a PR addressing this?