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

Update for nan@2 #16

Merged
merged 6 commits into from
Sep 17, 2015
Merged

Update for nan@2 #16

merged 6 commits into from
Sep 17, 2015

Conversation

charandas
Copy link
Contributor

Basically, followed this snippet, as well as manually changed all the String Initializers to have ToLocalChecked as suggested on the same thread.

In addition to node v0.12.7, I tested this with electron/iojs: "electron-prebuilt": "^0.32.2".

npm test runs fine. If interested in compiling against electron/iojs, see this script.

charandas and others added 3 commits September 15, 2015 17:30
Its actually not needed since Handles are Locals now
See nodejs/nan#401

Local<Value> cannot be newed since Value is the base class.
@gordalina
Copy link
Contributor

Maybe you should add iojs-v4 to .travis.yml

@ChALkeR
Copy link

ChALkeR commented Sep 16, 2015

This is related to #17.

@charandas
Copy link
Contributor Author

Thanks @gordalina for the suggestion. I have included iojs-v3.1.0 which electron depends on currently. v4 is not out yet.

In the process, I have migrated the travis run to the new docker-based infrastructure (by specifying sudo: false). I have also added g++ install step so iojs v3+ can build.

On to @mivion for further approval.

mivion added a commit that referenced this pull request Sep 17, 2015
@mivion mivion merged commit f22c103 into mivion:master Sep 17, 2015
@mivion
Copy link
Owner

mivion commented Sep 17, 2015

Thanks for grate work!

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.

4 participants