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

Replace ES6 arrow expressions with boring old functions #121

Merged
merged 1 commit into from
Apr 23, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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