This commit is contained in:
18
node_modules/remark-stringify/index.js
generated
vendored
Normal file
18
node_modules/remark-stringify/index.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
'use strict'
|
||||
|
||||
var unherit = require('unherit')
|
||||
var xtend = require('xtend')
|
||||
var Compiler = require('./lib/compiler.js')
|
||||
|
||||
module.exports = stringify
|
||||
stringify.Compiler = Compiler
|
||||
|
||||
function stringify(options) {
|
||||
var Local = unherit(Compiler)
|
||||
Local.prototype.options = xtend(
|
||||
Local.prototype.options,
|
||||
this.data('settings'),
|
||||
options
|
||||
)
|
||||
this.Compiler = Local
|
||||
}
|
||||
Reference in New Issue
Block a user