Skip to content

Commit 0f1443a

Browse files
wanmifamPham Minh Quan (RBVH/EDA33)
and
Pham Minh Quan (RBVH/EDA33)
authored
Support IE 11 works on TypeScript when used by npm (#259)
Co-authored-by: Pham Minh Quan (RBVH/EDA33) <[email protected]>
1 parent 201a424 commit 0f1443a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/parser.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ function print(xmlNode, indentation){
4444
if(xmlNode.child){
4545
console.log(indentation + "\"child\": {")
4646
const indentation2 = indentation + indentation;
47-
Object.keys(xmlNode.child).forEach( key =>{
47+
Object.keys(xmlNode.child).forEach( function(key) {
4848
const node = xmlNode.child[key];
4949

5050
if(Array.isArray(node)){
5151
console.log(indentation + "\""+key+"\" :[")
52-
node.forEach( (item,index) => {
52+
node.forEach( function(item,index) {
5353
//console.log(indentation + " \""+index+"\" : [")
5454
print(item, indentation2);
5555
})

0 commit comments

Comments
 (0)