41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
oElem.appendChild(img);
});
}
*/
const oGrammalecte = {
nWrapper: 0,
lWrapper: [],
oTFPanel: null,
oLxgPanel: null,
oGCPanel: null,
wrapTextareas: function () {
let lNode = document.getElementsByTagName("textarea");
for (let xNode of lNode) {
this.lWrapper.push(new GrammalecteWrapper(this.nWrapper, xNode));
this.nWrapper += 1;
}
},
createTFPanel: function () {
if (this.oTFPanel === null) {
this.oTFPanel = new GrammalecteTextFormatter("grammalecte_tf_panel", "Formateur de texte", 800, 620, false);
//this.oTFPanel.logInnerHTML();
|
|
|
|
|
|
|
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
oElem.appendChild(img);
});
}
*/
const oGrammalecte = {
nMenu: 0,
lMenu: [],
oTFPanel: null,
oLxgPanel: null,
oGCPanel: null,
createMenus: function () {
let lNode = document.getElementsByTagName("textarea");
for (let xNode of lNode) {
this.lMenu.push(new GrammalecteMenu(this.nMenu, xNode));
this.nMenu += 1;
}
},
createTFPanel: function () {
if (this.oTFPanel === null) {
this.oTFPanel = new GrammalecteTextFormatter("grammalecte_tf_panel", "Formateur de texte", 800, 620, false);
//this.oTFPanel.logInnerHTML();
|
130
131
132
133
134
135
136
137
|
}
});
/*
Start
*/
oGrammalecte.wrapTextareas();
|
|
|
130
131
132
133
134
135
136
137
|
}
});
/*
Start
*/
oGrammalecte.createMenus();
|