Skip to content
Browse files

Restore function.param to be a list of strings.

  • Loading branch information...
1 parent bb444a4 commit c891d656358a658a15d62f61c8733190e662ecf4 @happygiraffe committed Feb 16, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 fulljslint.js
View
8 fulljslint.js
@@ -6279,6 +6279,14 @@ loop: for (;;) {
}
function_data.name = the_function['(name)'];
function_data.param = the_function['(params)'];
+ if (function_data.param) {
+ for (j = 0; j < function_data.param.length; j += 1) {
+ if (function_data.param[j]
+ && typeof function_data.param[j] == 'object') {
+ function_data.param[j] = function_data.param[j].value;
+ }
+ }
+ }
function_data.line = the_function['(line)'];
data.functions.push(function_data);
}

0 comments on commit c891d65

Please sign in to comment.
Something went wrong with that request. Please try again.