summaryrefslogtreecommitdiffstats
path: root/src/elements/Bare.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/Bare.js')
-rw-r--r--src/elements/Bare.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/elements/Bare.js b/src/elements/Bare.js
index 43fc075..6264ae2 100644
--- a/src/elements/Bare.js
+++ b/src/elements/Bare.js
@@ -3,8 +3,8 @@ import { registerMethods } from '../utils/methods.js'
import Container from './Container.js'
export default class Bare extends Container {
- constructor (node) {
- super(nodeOrNew(node, typeof node === 'string' ? null : node), Bare)
+ constructor (node, attrs) {
+ super(nodeOrNew(node, typeof node === 'string' ? null : node), attrs)
}
words (text) {