fix incorrect builder reference

This commit is contained in:
Sebastian McKenzie 2015-03-08 03:02:19 +11:00
parent 45bc74efe7
commit b8bd11a0e7

View File

@ -63,7 +63,7 @@ export default function (whitelist, outputType = "global") {
var: buildVar var: buildVar
}[outputType]; }[outputType];
if (builder) { if (build) {
tree = build(namespace, builder); tree = build(namespace, builder);
} else { } else {
throw new Error(messages.get("unsupportedOutputType", outputType)); throw new Error(messages.get("unsupportedOutputType", outputType));