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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
angularjs-batarang/app/content-scripts
Brian Ford cd2a9e495d fix: niceNames 10 years ago
..
lib fix: niceNames 10 years ago
README.md Moved all the files around and added livereloading to the extension. 10 years ago
inject.js Moved all the files around and added livereloading to the extension. 10 years ago

README.md

content-scripts/inject.js

What does this do?

This adds a script to the page that watches DOM mutation events until it sees that window.angular is available. Immediately after, before any applications have the opportunity to bootstrap, this decorates core Angular components to expose debugging information.

Building debug.js

Why does this need a build step?

Because this script does fn.toString() to construct the script tags, it's impossible to use any sort of code loading. The code needs to be inlined before being run.

From the root of this repository, run:

node ./scripts/inline.js