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) {