Skip to content

Commit

Permalink
remove old 0.4.x binding support. Closes #197
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Oct 25, 2012
1 parent aabbb9b commit 64af9b2
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions lib/bindings.js
@@ -1,10 +1,2 @@
/**
* Compat for changes from node 0.4.x to 0.6.x.
*/
try {
module.exports = require('../build/Release/canvas');
} catch (e) { try {
module.exports = require('../build/default/canvas');
} catch (e) {
throw e;
}}

module.exports = require('../build/Release/canvas');

0 comments on commit 64af9b2

Please sign in to comment.