Skip to content

Commit fe09e96

Browse files
committed
fix jshint errors for lib/types.js
1 parent ffe2c15 commit fe09e96

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lib/types.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ var typeParsers = {
99
//the empty parse function
1010
var noParse = function(val) {
1111
return String(val);
12-
}
12+
};
1313

1414
//returns a function used to convert a specific type (specified by
1515
//oid) into a result javascript type
1616
var getTypeParser = function(oid, format) {
17-
if (!typeParsers[format])
17+
if (!typeParsers[format]) {
1818
return noParse;
19+
}
1920

2021
return typeParsers[format][oid] || noParse;
2122
};
@@ -26,7 +27,7 @@ var setTypeParser = function(oid, format, parseFn) {
2627
format = 'text';
2728
}
2829
typeParsers[format][oid] = parseFn;
29-
}
30+
};
3031

3132
textParsers.init(function(oid, converter) {
3233
typeParsers.text[oid] = function(value) {
@@ -41,4 +42,4 @@ binaryParsers.init(function(oid, converter) {
4142
module.exports = {
4243
getTypeParser: getTypeParser,
4344
setTypeParser: setTypeParser
44-
}
45+
};

0 commit comments

Comments
 (0)