Skip to content

Commit a7452e6

Browse files
committed
Add matchName listing
1 parent 3dcc7bb commit a7452e6

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

src/utils.jsx

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,15 @@
1-
function consLog(text) { if (configs.log) $.writeln(text); }
1+
function consLog(text) {
2+
if (configs.log)
3+
$.writeln(text);
4+
}
5+
6+
function listMatchNames(object) {
7+
consLog("LISTING ?")
8+
for(var i=1; i <= object.numProperties; i++) {
9+
10+
var prop = object.property(i);
11+
consLog(prop.matchName + '('+ prop.name +')');
12+
13+
}
14+
15+
}

0 commit comments

Comments
 (0)