These are chat archives for ThoughtWorksInc/Binding.scala
General questions should be asked on StackOverflow, not here. This room focuses on development of Binding.scala.
defs? It seems a little dangerous if
vals are shared between different conditions.
valdoes fix the issue I was having as well. There are lots of
valin the ScalaFiddle examples online, so I'll have to learn more about what the circumstances are that preclude using them. Thank you for the suggestion.
@htmlmacro/annotation but I'm not sure what the goals were, what you were trying to move away from.
defsuggestion is just my guess.
valis a bug.
val. To demonstrate, click the checkbox, you should see 10 numbers below each piece of text. Then uncheck, change the number of elements to say 2, and then check box again. You'll see that the 'working' section displays 2 numbers while the 'not working' section displays 10 still. However if you change the number while the checkbox is checked, both sections have the same behavior (NOTE you must blur the input, it's not responding to key events, just onchange). If you think it's a bug and want it entered into github issues, let me know. Thanks!