remove bind
This commit is contained in:
parent
89473e4aa8
commit
5a61b11378
1 changed files with 2 additions and 2 deletions
|
@ -81,9 +81,9 @@ module.exports = (dep) => {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const withOptions = function (options) {
|
const withOptions = (options) => {
|
||||||
return {
|
return {
|
||||||
withOptions: withOptions.bind(options),
|
withOptions,
|
||||||
compile: (source, compileOptions = {}) =>
|
compile: (source, compileOptions = {}) =>
|
||||||
defaultProvider.compile(source, {
|
defaultProvider.compile(source, {
|
||||||
...compileOptions,
|
...compileOptions,
|
||||||
|
|
Loading…
Reference in a new issue