Do not append \n at beginning of constructed function
git-svn-id: svn://10.0.0.236/trunk@261357 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -523,7 +523,7 @@ public class BaseFunction extends IdScriptableObject implements Function
|
||||
}
|
||||
sourceBuf.append(ScriptRuntime.toString(args[i]));
|
||||
}
|
||||
sourceBuf.append(") {\n");
|
||||
sourceBuf.append(") {");
|
||||
if (arglen != 0) {
|
||||
// append function body
|
||||
String funBody = ScriptRuntime.toString(args[arglen - 1]);
|
||||
|
||||
Reference in New Issue
Block a user