Skip to content

Commit

Permalink
Removed arrow function for ES5 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Rusya44 committed Jun 8, 2019
1 parent d205a27 commit 0a4cedb
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 0a4cedb

Please sign in to comment.