dashboardjavacloudcoapiotiot-analyticsiot-platformiot-solutionskafkalwm2mmicroservicesmiddlewaremqttnettyplatformsnmpthingsboardvisualizationwebsocketswidgets
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.
17 lines
362 B
17 lines
362 B
'use strict'
|
|
|
|
var unherit = require('unherit')
|
|
var xtend = require('xtend')
|
|
var Parser = require('./lib/parser.js')
|
|
|
|
module.exports = parse
|
|
parse.Parser = Parser
|
|
|
|
function parse(options) {
|
|
var settings = this.data('settings')
|
|
var Local = unherit(Parser)
|
|
|
|
Local.prototype.options = xtend(Local.prototype.options, settings, options)
|
|
|
|
this.Parser = Local
|
|
}
|
|
|