Permalink
Browse files

Use bindings package in examples

  • Loading branch information...
nikhilm committed Apr 13, 2013
1 parent 173f731 commit a733042eb4c48a668c4887c063fca217bf089c1c
Showing with 3 additions and 3 deletions.
  1. +1 −1 README.md
  2. +1 −1 examples/properties.js
  3. +1 −1 examples/simple.js
View
@@ -49,7 +49,7 @@ certain bugs present in the released v1.7 cause problems.**
# make sure you have node and taglib installed
git clone git://github.com/nikhilm/node-taglib.git
cd node-taglib
- node-waf configure build
+ npm install .
node examples/simple.js /path/to/mp3_or_ogg_file
# you can now require('./taglib')
View
@@ -1,4 +1,4 @@
-var Taglib = require(__dirname+"/../taglib")
+var Taglib = require('bindings')('taglib');
var util = require("util")
var p = new Taglib.AudioProperties(process.argv[2]);
View
@@ -1,4 +1,4 @@
-var Taglib = require(__dirname+"/../taglib")
+var Taglib = require('bindings')('taglib');
var util = require("util")
for (var i = 2; i < process.argv.length; i++) {

0 comments on commit a733042

Please sign in to comment.