copy rest to class constructor - fixes #29

This commit is contained in:
Sebastian McKenzie 2014-10-10 13:51:13 +11:00
parent a86e710b5b
commit 3cb8866fcc
2 changed files with 2 additions and 1 deletions

View File

@ -145,6 +145,7 @@ var addConstructor = function (construct, method) {
construct.defaults = method.defaults;
construct.params = method.params;
construct.body = method.body;
construct.rest = method.rest;
};
var addInstanceMethod = function (body, className, methodName, method) {

View File

@ -1,7 +1,7 @@
{
"name": "6to5",
"description": "Turn ES6 code into vanilla ES5 with source maps and no runtime",
"version": "1.7.1",
"version": "1.7.2",
"author": "Sebastian McKenzie <sebmck@gmail.com>",
"homepage": "https://github.com/sebmck/6to5",
"repository": {