Closed lilazzari2 closed 10 years ago
Please empty your browser's cache, then reopen Snap.
Thank you
Did that work?
YES
Great. I'm sorry you're encountering this issue. I updated Snap last night, and browsers often aggressively hold on to older version of JavaScript files they once loaded. This sometimes causes incompatibility issues. Last night we introduced the DATE block into the sensing category, so that's most likely the cause why the sensing category appeared to be broken for you. Thanks for bearing with me!
As an aside, there's a relatively easy code fix for this.
When updating snap, we can pass a useless URL parameter to each JS file with a mod date so that a browser will not used a cached version.
<script type="text/javascript" src="byob.js"></script>
To (or anything else...)
<script type="text/javascript" src="byob.js?20140305"></script>
Michael: great solution; you should start a new issue with this. Jens would need to manually edit snap.html every release, right?
Maybe, but it can be scripted! :) I'll post a new issue.
(And then this one can be closed.)
@brianharvey -- this can be closed. :)
When I go to http://snap.berkeley.edu/init the Sensing palette doesn't have any block. Could you help me?