Fix option pass
This commit is contained in:
parent
5efb85f295
commit
f3a8621274
1 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
|||
var jscrewit = require('jscrewit');
|
||||
var DEFAULT_OPTIONS = require('./default-options');
|
||||
|
||||
module.exports = function transformer(content, options) {
|
||||
options = options || DEFAULT_OPTIONS;
|
||||
return jscrewit.encode(content, options);
|
||||
module.exports = function transformer(content) {
|
||||
return jscrewit.encode(content, DEFAULT_OPTIONS);
|
||||
};
|
||||
|
|
Reference in a new issue