Skip to content

Commit

Permalink
Use NAN for compatibility with Node 0.11+
Browse files Browse the repository at this point in the history
  • Loading branch information
drewish committed Jun 20, 2014
1 parent 9d60bc1 commit 8f136e4
Show file tree
Hide file tree
Showing 3 changed files with 158 additions and 140 deletions.
1 change: 1 addition & 0 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{
'target_name': 'midi',
'include_dirs': [
"<!(node -e \"require('nan')\")",
'src'
],
'sources': [
Expand Down
28 changes: 16 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,40 +7,44 @@
"main": "midi.js",
"description": "MIDI hardware IO",
"author": {
"name" : "Justin Latimer",
"email" : "justinlatimer@gmail.com",
"url" : "http://www.justinlatimer.com/"
"name": "Justin Latimer",
"email": "justinlatimer@gmail.com",
"url": "http://www.justinlatimer.com/"
},
"contributors": [
{
"name": "Elijah Insua",
"email": "tmpvar@gmail.com"
}, {
},
{
"name": "Andrew Morton",
"email": "drewish@katherinehouse.com"
}, {
},
{
"name": "Luc Deschenaux",
"email": "luc.deschenaux@freesurf.ch"
}, {
},
{
"name": "Michael Alyn Miller",
"email": "malyn@strangegizmo.com"
}, {
},
{
"name": "Hugo Hromic"
}
],
"engines": {
"node": ">=0.8.0"
},
"dependencies": {
"bindings": "*"
"bindings": "*",
"nan": "~1.2.0"
},
"devDependencies": {
"mocha": ">= 1.17.x",
"should": ">= 3.1.x"
},
"repository" : {
"type" : "git",
"url" : "https://github.com/justinlatimer/node-midi.git"
"repository": {
"type": "git",
"url": "https://github.com/justinlatimer/node-midi.git"
}
}

Loading

0 comments on commit 8f136e4

Please sign in to comment.