Change-Id: Ie3c791e27a1fa9ee22c0ea77c44a2aa378776a78
Signed-off-by: Rafal Lelusz <r.lelusz@samsung.com>
// this function passes ExifInformation_exposureProgram_attribute test:
tizen.ExifInformation = function() {
- if (!this || this.constructor !== tizen.ExifInformation) {
- throw new TypeError;
- }
+ validator_.isConstructorCall(this, tizen.ExifInformation);
var args = validator_.validateArgs(arguments, [
{
}
]);
- var exifInitDict = args.ExifInitDict;
-
var uri_ = null;
var width_ = null;
var height_ = null;
var gpsTime_ = null;
var userComment_ = null;
+ var exifInitDict = args.ExifInitDict;
if (exifInitDict) {
if (exifInitDict['uri'] == null) {
throw new tizen.WebAPIException(tizen.WebAPIException.INVALID_VALUES_ERR,