change Function export to avoid messing with istanbul

This commit is contained in:
Sebastian McKenzie 2015-03-02 15:38:43 +11:00
parent 19cfee14fd
commit 99ddd02b0a

View File

@ -13,12 +13,12 @@ export function Class(node) {
node.implements = null;
}
export function Function(node) {
exports.Function = function (node) {
for (var i = 0; i < node.params.length; i++) {
var param = node.params[i];
param.optional = false;
}
}
};
export function TypeCastExpression(node) {
return node.expression;