Fix over-parenthesizing of function expressions

This commit is contained in:
Amjad Masad
2015-12-24 14:55:51 -08:00
parent 15760dfed2
commit 0d8e5a9e86
78 changed files with 213 additions and 187 deletions

View File

@@ -24,9 +24,9 @@ System.register([], function (_export) {
_export("default", Foo);
_export("default", (function () {
_export("default", function () {
return "foo";
})());
}());
}
};
});
});

View File

@@ -21,11 +21,11 @@ System.register(["./evens"], function (_export) {
for (i = 0, j = 0;;);
_export("isOdd", isOdd = (function (isEven) {
_export("isOdd", isOdd = function (isEven) {
return function (n) {
return !isEven(n);
};
})(isEven));
}(isEven));
_export("isOdd", isOdd);
}