Skip to content
This repository was archived by the owner on Sep 19, 2018. It is now read-only.

Commit af9db8b

Browse files
committed
Merge pull request #121 from inexorabletash/inexorabletash/noarrows
Replace ES6 arrow expressions with boring old functions
2 parents 453772c + 5d7c5f3 commit af9db8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

idlharness.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,8 +555,8 @@ function IdlInterface(obj, is_callback) {
555555
this.members = obj.members.map(function(m){return new IdlInterfaceMember(m); });
556556
if (this.has_extended_attribute("Unforgeable")) {
557557
this.members
558-
.filter(m => !m["static"] && (m.type == "attribute" || m.type == "operation"))
559-
.forEach(m => m.isUnforgeable = true);
558+
.filter(function(m) { return !m["static"] && (m.type == "attribute" || m.type == "operation"); })
559+
.forEach(function(m) { return m.isUnforgeable = true; });
560560
}
561561

562562
/**

0 commit comments

Comments
 (0)