We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5cc6ec commit 6553f79Copy full SHA for 6553f79
1 file changed
index.js
@@ -1,9 +1,5 @@
1
-var native;
2
-try {
3
- native = require('./build/Release/hdiffpatch');
4
-} catch(e) {
5
- console.error(e);
6
-}
+const native = require('./build/Release/hdiffpatch');
+
7
exports.native = native;
8
9
// 同步版本
0 commit comments