Advertisement
myrosvas

Untitled

Sep 14th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. Hey, I see that you changed write function. But on some pages (including - /light-sensor) the uploading path is incorrect now. And code editor got broken because of this. I don't know if have you changed it or not, maybe you made some extra changes to .html file or something?
  2. The uploading link looks like this: <script src="/s/lsc-ace-serial_and_arduino-mode-combined.js">
  3. //This script allows the IDE to function
  4. </script>
  5. but it can't find and upload file from this directory.
  6. On the page /learn-play-3-tones-to-a-speaker the path is different:
  7. <!--<script src="/s/lsc-ace-serial_and_arduino-mode-combined.js">
  8. //This script allows the IDE to function
  9. </script>-->
  10. <script src="https://s3.amazonaws.com/compile-script-9-13-18/lsc-ace-serial_and_arduino-mode-combined.js"></script>
  11. it uploads from s3.amazon and monitor works there, but old link is commented out. To make it work, the uploading link should be changed to https://s3.amazonaws... .
  12. To test this script on /learn-play-3-tones-to-a-speaker you must show monitor button there, you can do it by typing command in console of devtools - " document.getElementById('monitor-button').style.display = 'block' ". It works for sure.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement