Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

return artists array in ArtistsGetter ;)

commented a debug log message
  • Loading branch information...
commit 368bd26b3adba4e5ff90a0079357237400f7eead 1 parent 89f2d64
@adriengibrat adriengibrat authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/track.cc
View
5 src/track.cc
@@ -113,8 +113,7 @@ GETTER_C(Track::ArtistsGetter) {
for (int i = 0; i < count; i++) {
array->Set(Integer::New(i), Artist::New(sp_track_artist(p->track_, i)));
}
-
- scope.Close(array);
+ return scope.Close(array);
}
/**
@@ -125,7 +124,7 @@ Handle<Value> Track::UriGetter(Local<String> property,
const AccessorInfo& info) {
HandleScope scope;
Track *p = Unwrap<Track>(info.This());
- fprintf(stderr, "UriGetter\n");
+ //fprintf(stderr, "UriGetter\n");
if (!p->track_ || !sp_track_is_loaded(p->track_))
return Undefined();
Please sign in to comment.
Something went wrong with that request. Please try again.