You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
374 B

'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
}