Mercurial > repos > tabletprog
comparison editor.js @ 110:d715fb3c39ab
Implemented clicking on symbols inside inscope box to replace function name in funcall.
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 13 Apr 2013 23:37:54 -0700 |
parents | 35006a6e1c47 |
children | c0bfff39abe3 |
comparison
equal
deleted
inserted
replaced
109:a647cdad620b | 110:d715fb3c39ab |
---|---|
118 onclick: function(event) { | 118 onclick: function(event) { |
119 main_module.symbolClick(this, astNode, event); | 119 main_module.symbolClick(this, astNode, event); |
120 } | 120 } |
121 })); | 121 })); |
122 } | 122 } |
123 | |
124 function getEl(from, idx) | |
125 { | |
126 return from[idx]; | |
127 } | |
128 | |
129 function setEl(to, idx, val) | |
130 { | |
131 to[idx] = val; | |
132 return to; | |
133 } |