diff 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
line wrap: on
line diff
--- a/editor.js	Sat Apr 13 17:33:14 2013 -0700
+++ b/editor.js	Sat Apr 13 23:37:54 2013 -0700
@@ -120,3 +120,14 @@
 		}
 	}));
 }
+
+function getEl(from, idx)
+{
+	return from[idx];
+}
+
+function setEl(to, idx, val)
+{
+	to[idx] = val;
+	return to;
+}