Skip to content
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

multiple evalNWBin always execute just the first *.bin #5215

Closed
Autumn2016 opened this issue Aug 16, 2016 · 2 comments
Closed

multiple evalNWBin always execute just the first *.bin #5215

Autumn2016 opened this issue Aug 16, 2016 · 2 comments

Comments

@Autumn2016
Copy link

Autumn2016 commented Aug 16, 2016

this is my source code:
https://github.com/Autumn2016/NWDemo

when i do like this:

    //first evalNWBin
    var one = require('nw.gui').Window.get().evalNWBin(null, 'one.bin')();
    console.log(one);
    console.log(one.sum());

     //second evalNWBin
    var two = require('nw.gui').Window.get().evalNWBin(null, 'two.bin')();
    console.log(two);
    console.log(two.moon());

question:
the first evalNWBin is work well,but the second evalNWBin is not well.
the result of the second evalNWBin is the same with the first.

image

if you can help me, i will be deeply gratefu!l

@richardg867
Copy link

richardg867 commented Aug 16, 2016

Can confirm this bug. v0.16.1 on Linux x86

@ghostoy
Copy link
Member

ghostoy commented Aug 17, 2016

merged to #5168

@ghostoy ghostoy closed this as completed Aug 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants