Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit bfff55c

Browse files
committed
dom helpers: commands -> functions
1 parent 2cd8226 commit bfff55c

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

packages/plugin-dom-helpers/src/DomHelpers.ts

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -15,42 +15,6 @@ import { Inline } from '../../plugin-inline/src/Inline';
1515
import { Parser } from '../../plugin-parser/src/Parser';
1616

1717
export class DomHelpers<T extends JWPluginConfig = JWPluginConfig> extends JWPlugin<T> {
18-
commands = {
19-
'dom.addClass': {
20-
handler: this.addClass.bind(this),
21-
},
22-
'dom.removeClass': {
23-
handler: this.removeClass.bind(this),
24-
},
25-
'dom.toggleClass': {
26-
handler: this.toggleClass.bind(this),
27-
},
28-
'dom.setAttribute': {
29-
handler: this.setAttribute.bind(this),
30-
},
31-
'dom.setStyle': {
32-
handler: this.setStyle.bind(this),
33-
},
34-
'dom.remove': {
35-
handler: this.remove.bind(this),
36-
},
37-
'dom.empty': {
38-
handler: this.empty.bind(this),
39-
},
40-
'dom.replace': {
41-
handler: this.replace.bind(this),
42-
},
43-
'dom.wrap': {
44-
handler: this.wrap.bind(this),
45-
},
46-
'dom.moveBefore': {
47-
handler: this.moveBefore.bind(this),
48-
},
49-
'dom.moveAfter': {
50-
handler: this.moveAfter.bind(this),
51-
},
52-
};
53-
5418
//--------------------------------------------------------------------------
5519
// Public
5620
//--------------------------------------------------------------------------

0 commit comments

Comments
 (0)