Merge.
Chris Pressey
10 years ago
22 | 22 | cfg.liveMode = !!cfg.liveMode; |
23 | 23 | |
24 | 24 | input = yoob.makeTextArea(container, 40, 20, cfg.initialText); |
25 | input.onkeyup = function() { | |
25 | input.oninput = function() { | |
26 | 26 | if ($this.liveMode) { |
27 | // TODO don't do this if it's a deadkey like shift | |
28 | 27 | $this.process(); |
29 | 28 | } |
30 | 29 | }; |
97 | 96 | var paramInput = yoob.makeTextInput(panel, 24, def); |
98 | 97 | slot.selectedParams[paramName] = def; |
99 | 98 | var $this = this; |
100 | paramInput.onkeyup = function() { | |
99 | paramInput.oninput = function() { | |
101 | 100 | slot.selectedParams[paramName] = paramInput.value; |
102 | 101 | if ($this.liveMode) { |
103 | // TODO don't do this if it's a deadkey like shift | |
104 | 102 | $this.process(); |
105 | 103 | } |
106 | 104 | }; |