exif-js / exif-js

JavaScript library for reading EXIF image metadata

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

missing var to be used in angular (typescript)

CarlosGRodriguezL opened this issue · comments

Could you pls add the var in front of the n-variable, so I can use the library in my angular project.

function getStringFromDB(buffer, start, length) {
var outstr = "";
for (var n = start; n < start+length; n++) {
outstr += String.fromCharCode(buffer.getUint8(n));
}
return outstr;
}