New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is nwjs(node-webkit) supported? #445
Comments
Try including a library that implements it according to the Promises A+ spec and set its |
Thank you for the comment. Is hard to say, but my problem is a little more complicated.. Of course, I can load Promise A+ shim(like bluebird) on outer. |
So this is not a Velocity issue, then. |
Hmm, ok. Thanks anyway. |
If anyone stumbles here through google. The posted solution works for me, on LG Smart TV's (nodeWebkit) Velocity does not work because the Promise implementation is incorrect. Patching Velocity.Promise with bluebird solves the issue. var velocity = require('velocity'),
bluebird = require('bluebird');
velocity.Promise = bluebird; |
@julianshapiro
Hi, thank you for nice lib ;D
I'm now developing my app with Velocity on nwjs(node-webkit).
And I have to support both two nwjs versions below.
and
My problem is "Error occurs only on maintained stable".
Minimal sample is below.
Animation has completed but, it's end up with some error.
According to my examined, implementation of 'Promise' was different.
Latest one(with node v11) has native Promise, works propery.
But stable one has nwjs original? Promise, occurs error.
Both has
window.Promise
, so same code executed, but it works different...Is there a way to avoid this?
Sorry to my poor english X(
The text was updated successfully, but these errors were encountered: