Closed Jule- closed 4 years ago
What builder are you using?
I am using aurelia bundler.
Hum, seems that my changes broke one of your tests in your test env... But on my side:
$ mocha --compilers js:babel-register
DOM
Stack
.getCard()
√ returns card associated with an element
√ returns null when element is not associated with a card
.destroyCard()
√ is called when Card is destroyed
.getConfig()
√ returns the config object
isThrowOut
√ is invoked in the event of dragend
√ determines throwOut event
√ determines throwOut event
throwOutConfidence
√ is invoked in the event of dragmove
rotation
√ is invoked in the event of dragmove
transform
√ is invoked in the event of dragmove (43ms)
10 passing (425ms)
Done in 2.17s.
Hi, any news on this? Thanks.
I think you work with some specific builder that understand
global
and probably transpile it for browser but for others please usewindow
which seems to be the only available in browsers.Thanks for your work! ;)