Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

quit asserting api, as this breaks things when they may otherwise work

  • Loading branch information...
commit e3be0aa1b5ba40d886d5d7d688eeed08e375d279 1 parent a1ab867
Dane Springmeyer authored September 16, 2011

Showing 1 changed file with 1 addition and 5 deletions. Show diff stats Hide diff stats

  1. 6  lib/zipfile.js
6  lib/zipfile.js
... ...
@@ -1,8 +1,4 @@
1  
-var assert = require('assert');
2 1
 var zipfile = require('./_zipfile');
3 2
 
4  
-/* assert ABI compatibility */
5  
-assert.ok(zipfile.versions.node === process.versions.node, 'The running node version "' + process.versions.node + '" does not match the node version that node-zipfile was compiled against: "' + zipfile.versions.node + '"');
  3
+exports = module.exports = zipfile;
6 4
 
7  
-// push all C++ symbols into js module
8  
-for (var k in zipfile) { exports[k] = zipfile[k]; }

0 notes on commit e3be0aa

Please sign in to comment.
Something went wrong with that request. Please try again.