mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Marko v3: Pass along options in all cases
This commit is contained in:
parent
4339c8dfd1
commit
fb0c4beb93
@ -110,7 +110,7 @@ function compile(src, filename, options, callback) {
|
||||
callback(e);
|
||||
}
|
||||
} else {
|
||||
return compiler.compile(src, filename);
|
||||
return compiler.compile(src, filename, options);
|
||||
}
|
||||
}
|
||||
|
||||
@ -124,7 +124,7 @@ function getLastModified(path, options, callback) {
|
||||
options = null;
|
||||
}
|
||||
|
||||
callback(null, null); // TODO Implement getLastModified
|
||||
callback(null, -1); // TODO Implement getLastModified
|
||||
}
|
||||
|
||||
exports.createBuilder = createBuilder;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user