Skip to content

Commit

Permalink
Merge pull request #6 from Rusya44/patch-1
Browse files Browse the repository at this point in the history
Removed arrow function for ES5 compatibility
  • Loading branch information
DoctorMcKay authored Jun 8, 2019
2 parents d205a27 + 0a4cedb commit cf69350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ function getTypeFromChar(typeChar) {
}

function fixTypes(sid) {
['universe', 'type', 'instance', 'accountid'].forEach((prop) => {
['universe', 'type', 'instance', 'accountid'].forEach(function(prop) {
var val = parseInt(sid[prop], 10);
if (!isNaN(val)) {
sid[prop] = val;
Expand Down

0 comments on commit cf69350

Please sign in to comment.