4 ms·
So, I'm a bit confused about how these watches work. I expected them to give me a live view of how a variable changes (like data-binding), but that doesn't see
by josephwegner 13y ago
So, I'm a bit confused about how these watches work. I expected them to give me a live view of how a variable changes (like data-binding), but that doesn't seem to be the case. It seems that it puts a hook into whenever the page evaluates that code, it updates the watch.
For instance, I put a watch on this javascript:
window.scrollY;
I expected it to update every time I scrolled. In reality, I had to put an event hook onto the window's scroll event with window.scrollY inside of it. This is a bit confusing.
Also, Chris, anyone you can put an update somewhere when you get the docs finished? This is the first release that is stable enough for me to actually use, so I don't really know how to do anything. Seems like the docs are way out of date (ie: How the heck do I search for files in my workspace?).
Great release though! I'm pumped that LightTable is finally stable enough for me to attempt to replace sublime!
- josephwegner 13y agoFor the record, I now see someone else commented with the Cmd+o hint.. I guess that's how you search for files. Either way, I'd love to know when the docs are updated so I can really dig in!