Comments (5)
Seems like we have to use 'textContent' instead of 'src. Ick.
from audion.
To confirm, the problem is that the logic in tracing.js could run after the other logic in injection-content-script.js runs?
Wow, I wrongly thought that setting the src
attribute of script tags blocked. Yeah, it seems like setting textContent
's the way to go. Maybe we should lightly use a gulp build rule here to inline tracing.js? So we get syntax highlighting while editing tracing.js?
from audion.
Actually, we can synchronously fetch the script via an XHR - let me know what you think about #14.
from audion.
No - the problem is the injected code gets executed after the script code in the <body>
element. For example, I have a bunch of code in the <body><script></script></body>
and this runs earlier than the injected code - thus I got nothing in the visualizer.
from audion.
Ah k, I think the pull request should fix that since the content script
runs before other scripts in the page.
On Jul 6, 2016 10:39 AM, "Hongchan Choi" [email protected] wrote:
No - the problem is the injected code gets executed after the script code
<script></script> and this runs earlier than the injected code - thus I got nothing in the visualizer.
in the element. For example, I have a bunch of code in the—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
#13 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AEBqcfn6qm3QaCR0y9rnqiX1iKhcJ3rnks5qS8w0gaJpZM4JCjWy
.
from audion.
Related Issues (20)
- "'audion' started debugging this browser" appears before "Web Audio" tab is opened HOT 2
- "'audion' started debugging this browser" warning stays after DevTools are closed HOT 1
- Graph visualization breaks into a single AudioContext node HOT 2
- Web Audio JS code from the DT console does not show up in the visualization HOT 1
- Garbage collection HOT 5
- Tone.js Websites Trigger Infinite Loop of Notification Message HOT 2
- Apple Silicon support? HOT 6
- Nodes connection order seems to be important HOT 3
- Graph is difficult to navigate.
- Managing panel style to match builtin devtools frontend HOT 1
- No graph visualization on Blob Opera HOT 2
- latest chrome cannot render graph visualizer HOT 3
- Can Audion work in Electron? HOT 2
- Stale BaseAudioContexts in the drop-down menu HOT 7
- The connection in the visualization is reset when the context starts running
- No graph visualization from examples on codepen.io HOT 5
- Add instruction on Chrome Web Store landing page HOT 1
- Visualization breaks on dynamic changes HOT 5
- Weird callback buffer size on windows HOT 1
- Upgrade npm module to newest version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audion.