Fossil SCM

Added fossil.dom.ins/del() factory functions in prep for JS-based diff renderer.

stephan 2021-08-30 16:43 trunk
Commit ae28ae827343d2df2aa928f1309c911821a925063624b5f28fbd8830e1d276c0
1 file changed +2
--- src/fossil.dom.js
+++ src/fossil.dom.js
@@ -72,10 +72,12 @@
7272
dom.footer = dom.createElemFactory('footer');
7373
dom.section = dom.createElemFactory('section');
7474
dom.span = dom.createElemFactory('span');
7575
dom.strong = dom.createElemFactory('strong');
7676
dom.em = dom.createElemFactory('em');
77
+ dom.ins = D.createElemFactory('ins');
78
+ dom.del = D.createElemFactory('del');
7779
/**
7880
Returns a LABEL element. If passed an argument,
7981
it must be an id or an HTMLElement with an id,
8082
and that id is set as the 'for' attribute of the
8183
label. If passed 2 arguments, the 2nd is text or
8284
--- src/fossil.dom.js
+++ src/fossil.dom.js
@@ -72,10 +72,12 @@
72 dom.footer = dom.createElemFactory('footer');
73 dom.section = dom.createElemFactory('section');
74 dom.span = dom.createElemFactory('span');
75 dom.strong = dom.createElemFactory('strong');
76 dom.em = dom.createElemFactory('em');
 
 
77 /**
78 Returns a LABEL element. If passed an argument,
79 it must be an id or an HTMLElement with an id,
80 and that id is set as the 'for' attribute of the
81 label. If passed 2 arguments, the 2nd is text or
82
--- src/fossil.dom.js
+++ src/fossil.dom.js
@@ -72,10 +72,12 @@
72 dom.footer = dom.createElemFactory('footer');
73 dom.section = dom.createElemFactory('section');
74 dom.span = dom.createElemFactory('span');
75 dom.strong = dom.createElemFactory('strong');
76 dom.em = dom.createElemFactory('em');
77 dom.ins = D.createElemFactory('ins');
78 dom.del = D.createElemFactory('del');
79 /**
80 Returns a LABEL element. If passed an argument,
81 it must be an id or an HTMLElement with an id,
82 and that id is set as the 'for' attribute of the
83 label. If passed 2 arguments, the 2nd is text or
84

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button