Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #6 from drewish/shorter_name

Remove node from the module name.
  • Loading branch information...
commit e7e64daafb166e0ffb760673a1130fafc5d72be5 2 parents 02513a5 + fb37a0c
@dberesford dberesford authored
Showing with 4 additions and 4 deletions.
  1. +1 −1  README.md
  2. +1 −1  exiv2node.cc
  3. +1 −1  test/test.js
  4. +1 −1  wscript
View
2  README.md
@@ -20,7 +20,7 @@ Install the module with npm:
## Sample Usage
- var ex = require('exiv2node');
+ var ex = require('exiv2');
ex.getImageTags('./photo.jpg', function(err, tags) {
if (err) {
View
2  exiv2node.cc
@@ -189,4 +189,4 @@ void InitAll(Handle<Object> target) {
target->Set(String::NewSymbol("getImageTags"), FunctionTemplate::New(GetImageTags)->GetFunction());
target->Set(String::NewSymbol("setImageTags"), FunctionTemplate::New(SetImageTags)->GetFunction());
}
-NODE_MODULE(exiv2node, InitAll)
+NODE_MODULE(exiv2, InitAll)
View
2  test/test.js
@@ -1,4 +1,4 @@
-var ex = require('exiv2node');
+var ex = require('exiv2');
var assert = require('assert');
var fs = require('fs')
View
2  wscript
@@ -13,6 +13,6 @@ def configure(conf):
def build(bld):
obj = bld.new_task_gen("cxx", "shlib", "node_addon")
obj.cxxflags = ["-g", "-D_FILE_OFFSET_BITS=64", "-D_LARGEFILE_SOURCE", "-Wall"]
- obj.target = "exiv2node"
+ obj.target = "exiv2"
obj.source = "exiv2node.cc"
obj.uselib = "EXIV2"
Please sign in to comment.
Something went wrong with that request. Please try again.