Fix compat partial exec without data
This commit is contained in:
@@ -611,6 +611,8 @@ JavaScriptCompiler.prototype = {
|
||||
|
||||
if (this.options.data) {
|
||||
params.push("data");
|
||||
} else if (this.options.compat) {
|
||||
params.push('undefined');
|
||||
}
|
||||
if (this.options.compat) {
|
||||
params.push('depths');
|
||||
|
||||
Reference in New Issue
Block a user