minor fix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2018-01-07 03:11:18 +03:00
parent 1bf2d55e8a
commit 4b3d3a43dd

View File

@ -353,9 +353,10 @@ var ImagesPrototype =
module.ImagesPrototype = {
//version: '3.1',
get length(){
return Object.keys(this).length },
return Object.keys(this).length
// XXX is this the correct way to deal with service props???
+ (this.hasOwnProperty('version') ? -1 : 0) },
// Generic iterators...
//