Don't know if this is useful in any way, but I needed to include the file in an ES6 project that gets transpiled and needed to make it export the pipwerks object.
I think I have managed to maintain compatibility with including the file in a <script> tag as before, in which case the pipwerks object is added to the window object.
Let me know if there is anything I can improve on :)
Don't know if this is useful in any way, but I needed to include the file in an ES6 project that gets transpiled and needed to make it export the
pipwerks
object.I think I have managed to maintain compatibility with including the file in a
<script>
tag as before, in which case thepipwerks
object is added to thewindow
object.Let me know if there is anything I can improve on :)