Skip to content

Commit ff4b78f

Browse files
committed
add TODO
1 parent e835a01 commit ff4b78f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/archive.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export function getAttributes(element) {
5252
}, {});
5353
}
5454

55-
// ToDo: duplicate it is in crud.utils
55+
// TODO: duplicate it is in crud.utils
5656
export function checkValue(value) {
5757
if (!value) return false;
5858
if (/{{\s*([\w\W]+)\s*}}/g.test(value)) {
@@ -62,7 +62,7 @@ export function checkValue(value) {
6262
return true;
6363
}
6464

65-
// ToDo: Maybe can be deprciated
65+
// TODO: Maybe can be deprciated
6666
export function getValueFromJonDeep(json, path) {
6767
try {
6868
if (typeof json == 'undefined')
@@ -233,7 +233,7 @@ export function getElementPath(element, returnContext) {
233233
if (p) path.unshift(p);
234234

235235
return returnContext ? { path, document: iframeElement || document } : path;
236-
//todo: support for nested iframe
236+
//TODO: support for nested iframe
237237
// while(iframeElement !== findIframeFromElement(topWindow,iframeElement))
238238
// {
239239
// iframeElement = findIframeFromElement(topWindow,iframeElement);

src/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181
// }
182182

183183
if (node.parentNode && node.parentNode.children.length > 1) {
184-
// ToDo: improve array logic so ignores javascript generated html??
184+
// TODO: improve array logic so ignores javascript generated html??
185185
let children = []
186186
for (let child of node.parentNode.children){
187187
// if (!child.matches('.mirror'))

0 commit comments

Comments
 (0)