[Time API] Fixed static code analysis issues

This commit is contained in:
Henry
2017-05-01 13:29:14 -07:00
parent 37c9c6dfaf
commit 46a51bd8db
13 changed files with 64 additions and 51 deletions

View File

@ -44,7 +44,7 @@ define([
* @memberof platform/commonUI/formats
*/
function DurationFormat() {
this.key = "duration"
this.key = "duration";
}
DurationFormat.prototype.format = function (value) {

View File

@ -129,4 +129,4 @@ define([
};
return UTCTimeFormat;
});
});

View File

@ -24,7 +24,7 @@ define([
"./UTCTimeSystem",
"./LocalClock",
"./UTCTimeFormat",
"./DurationFormat",
"./DurationFormat"
], function (
UTCTimeSystem,
LocalClock,
@ -47,6 +47,6 @@ define([
"key": "DEFAULT_TIME_FORMAT",
"value": "utc"
});
}
};
};
});