diff --git a/lib/6to5/transformation/transform.js b/lib/6to5/transformation/transform.js index 6b3455b6ad..ed67956519 100644 --- a/lib/6to5/transformation/transform.js +++ b/lib/6to5/transformation/transform.js @@ -46,7 +46,6 @@ _.each({ letScoping: require("./transformers/let-scoping"), forOf: require("./transformers/for-of"), unicodeRegex: require("./transformers/unicode-regex"), - numericLiterals: require("./transformers/numeric-literals"), react: require("./transformers/react"), diff --git a/lib/6to5/transformation/transformers/numeric-literals.js b/lib/6to5/transformation/transformers/numeric-literals.js deleted file mode 100644 index 511d3c5c2a..0000000000 --- a/lib/6to5/transformation/transformers/numeric-literals.js +++ /dev/null @@ -1,6 +0,0 @@ -var _ = require("lodash"); - -exports.Literal = function (node) { - // TODO: remove this when the new code generator is released - if (_.isNumber(node.value)) delete node.raw; -};