Skip to content

Commit 46aab89

Browse files
committed
clean
1 parent 9909bc0 commit 46aab89

File tree

1 file changed

+0
-15
lines changed
  • examples/esp8266/WebMenu/WebMenu/data/1.0

1 file changed

+0
-15
lines changed

examples/esp8266/WebMenu/WebMenu/data/1.0/r-site.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -86,21 +86,6 @@ function walkStates(i,j) {
8686
if(i.items) walkStates(i.items,j.items)
8787
}
8888

89-
// function walkStates() {_walkStates(lastResult,previousResult)}
90-
// function _walkStates(o,p) {//lets try a dynamic state transition
91-
// console.log("walking states...");
92-
// if (o.menu&&p.menu) _walk(o.menu.items,p.menu.items);
93-
// function _walk(i,j) {
94-
// // if (i.idx) i.path=path+"/"+i.idx;
95-
// if (i.path===j.path) {
96-
// }
97-
// if (typeof i[Symbol.iterator] === 'function'&&typeof j[Symbol.iterator] === 'function')
98-
// for(var n=0;n<i.length;n++)
99-
// _walk(i[n],j[n]);
100-
// if(i.pad) _walk(i.pad,j.pad)
101-
// }
102-
// }
103-
//
10489
function mkPath(m) {
10590
if (m.menu) _mkPath(m.menu.items,m.menu.path||"")
10691
function _mkPath(i,path) {

0 commit comments

Comments
 (0)