Skip to content

Commit

Permalink
Merge pull request web-platform-tests#121 from inexorabletash/inexora…
Browse files Browse the repository at this point in the history
…bletash/noarrows

Replace ES6 arrow expressions with boring old functions
  • Loading branch information
jgraham committed Apr 23, 2015
2 parents 453772c + 5d7c5f3 commit af9db8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions idlharness.js
Original file line number Diff line number Diff line change
Expand Up @@ -555,8 +555,8 @@ function IdlInterface(obj, is_callback) {
this.members = obj.members.map(function(m){return new IdlInterfaceMember(m); });
if (this.has_extended_attribute("Unforgeable")) {
this.members
.filter(m => !m["static"] && (m.type == "attribute" || m.type == "operation"))
.forEach(m => m.isUnforgeable = true);
.filter(function(m) { return !m["static"] && (m.type == "attribute" || m.type == "operation"); })
.forEach(function(m) { return m.isUnforgeable = true; });
}

/**
Expand Down

0 comments on commit af9db8b

Please sign in to comment.