[Imagery] Be flexible about format

Accept either image or imageUrl as format for image telemetry,
WTD-1170.
This commit is contained in:
Victor Woeltjen 2015-06-18 16:53:52 -07:00
parent 69f4b4975e
commit 51bd205502

View File

@ -38,7 +38,8 @@ define(
ranges = metadata.ranges || [];
return ranges.some(function (range) {
return range.format === 'imageUrl';
return range.format === 'imageUrl' ||
range.format === 'image';
});
}