Upgrade node to v0.11.4, fixes #669

This commit is contained in:
Cheng Zhao 2014-09-30 21:35:22 +08:00
parent 9d84f139eb
commit e316e4a267
4 changed files with 4 additions and 8 deletions

View file

@ -6,7 +6,7 @@ process.atomBinding = (name) ->
try
process.binding "atom_#{process.type}_#{name}"
catch e
process.binding "atom_common_#{name}" if e.message is 'No such module'
process.binding "atom_common_#{name}" if /No such module/.test e.message
# Add common/api/lib to module search paths.
globalPaths = Module.globalPaths