mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-09-16 06:41:21 +00:00
Added beginnings of popup widget
This commit is contained in:
@@ -46,4 +46,13 @@ exports.addStyleToParseTreeNode = function(node,name,value) {
|
||||
}
|
||||
};
|
||||
|
||||
exports.findParseTreeNode = function(nodeArray,search) {
|
||||
for(var t=0; t<nodeArray.length; t++) {
|
||||
if(nodeArray[t].type === search.type && nodeArray[t].tag === search.tag) {
|
||||
return nodeArray[t];
|
||||
}
|
||||
}
|
||||
return undefined;
|
||||
};
|
||||
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user