Skip to content

Commit

Permalink
no more libclang error
Browse files Browse the repository at this point in the history
  • Loading branch information
apla committed Mar 8, 2015
1 parent 71d9d46 commit ab18c50
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion node/clang-project.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
var libclang = require('libclang');
var libclang = {};
try {
require('libclang');
} catch (err) {
return;
}

var Index = libclang.Index,
Cursor = libclang.Cursor,
Expand Down

0 comments on commit ab18c50

Please sign in to comment.