Permalink
Browse files

remove old 0.4.x binding support. Closes #197

  • Loading branch information...
1 parent aabbb9b commit 64af9b201d701177aace0693fdefbeb251f1c62a @tj tj committed Oct 25, 2012
Showing with 2 additions and 10 deletions.
  1. +2 −10 lib/bindings.js
View
@@ -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.