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

Add native to-/fromJSArray #603

Merged
merged 5 commits into from
Apr 30, 2014
Merged

Add native to-/fromJSArray #603

merged 5 commits into from
Apr 30, 2014

Conversation

xash
Copy link
Contributor

@xash xash commented Apr 30, 2014

Needed by #597

@evancz
Copy link
Member

evancz commented Apr 30, 2014

Maybe add test that (array == fromJSArray (toJSArray array)) ?

@evancz
Copy link
Member

evancz commented Apr 30, 2014

I can't do this from my phone, weirdly stressed. Can merge when I'm back in SF and have gotten some sleep.

@xash
Copy link
Contributor Author

xash commented Apr 30, 2014

Right now, Test doesn't seem to support native functions, and I don't want to expose these to Elm, as we somewhere discussed, that these should only be used for ports.

@maxsnew
Copy link
Contributor

maxsnew commented Apr 30, 2014

What do you mean be "Test doesn't seem to support native functions"? Can't you import these from Native.Array?

@xash
Copy link
Contributor Author

xash commented Apr 30, 2014

Ah, of course, thank you.

@xash
Copy link
Contributor Author

xash commented Apr 30, 2014

Right now, initialize seems to be bugged, so I changed it temporarily until I find the problem.

@evancz evancz merged commit 0eb77ff into elm:master Apr 30, 2014
@evancz
Copy link
Member

evancz commented Apr 30, 2014

Cool, thanks :) I think I want to have this happen with 0.13 so we can keep moving with WebGL stuff.

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

Successfully merging this pull request may close these issues.

3 participants