You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
744 B
744 B
Batarang Architecture
This document describes the different parts of Batarang and how they interact. This is intended for anyone that wants to contribute to or improve Batarang.
Parts
Chrome Devtools Pane
Dispays stuff
Instrumentation
Hooks into the app to give you stats and access to the models
Background Page
- Lets us communicate between app and devtools pane
- Stores state
Bootstrap
How does Batarang start?
manifest.json
– ...- content script
- crazy bootstrap
- embeds
<script>
into the app's<head>
- proxy elt
- app context patches angular
- emits events to content script
- content script sends messages to the backgroung page
- backgroung page emits events to the devtools pane