Code Monkey home page Code Monkey logo

angular-performance's People

Contributors

callicles avatar russe11 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular-performance's Issues

Error when running angular 1.3 in production mode

Uncaught TypeError:   Object.getPrototypeOf called on non-objectinstrumentDigest 
@ inspector.js:107bootstrapInspector 
@ inspector.js:85detectAngular 
@ inspector.js:74(anonymous function) 
@ inspector.js:24(anonymous function) 
@ inspector.js:467

Uncaught TypeError: Cannot read property 'get' of undefined

I get this when loading chrome, and the extension reports 0's on all three values

inspector.js:83
_angularInjector = angular.element(document.querySelector('[ng-app],[data-ng-app]')).injector().get;

if I change it to this:
_angularInjector = angular.element(document).injector().get;

It works

I'm bootstraping angular:
function onReady() {
angular.bootstrap(document, ['blockchess']);
}

if (Meteor.isCordova)
angular.element(document).on("deviceready", onReady);
else
angular.element(document).ready(onReady);

we can cover both cases like this:
_angularInjector = (angular.element(document.querySelector('[ng-app],[data-ng-app]')).injector() || angular.element(document).injector()).get;

Or a bit cleaner like so:
var injector = angular.element(document.querySelector('[ng-app],[data-ng-app]')).injector() || angular.element(document).injector()
_angularInjector = (injector).get;

Let me know if this make sense, I'll create a pull request

and please hurry this extension seems cool I wanna use it! :)

Permission Error

Extension is broken on Chrome OSX Version 44.0.2403.130 (64-bit). The background.html shows:

Unchecked runtime.lastError while running tabs.executeScript: Cannot access contents of url "chrome-devtools://devtools/bundled/devtools.html?&remoteBase=https://chrome-devtools-frontend.appspot.com/serve_file/@199588/&dockSide=undocked&toolbarColor=rgba(230,230,230,1)&textColor=rgba(0,0,0,1)". Extension manifest must request permission to access this host.
at devToolsListener (chrome-extension://hejbpbhdhhchmmcgmccpnngfedalkmkm/src/background.js:34:21)

Lazy injection of inspector.js file

As of now the inspector was injected in all the pages whether or not the devtools were opened.

Would be nice to have it injected only if the devtools are opened.

Export charts

To help comparison, it would be great to export charts as images.

Add scope Inspector tab

A a scope inspector tab like the one available in batarang or angular inspector so that only one angular inspecting extension is needed.

Clean-up inspector.js when the devtools panel is closed

Once the devtools are closed, the inspector keeps inspecting the webpage.

The proper behavior would be that all inspector trace should be removed once the devtools are closed.

  • have the inspector back everything up
  • clean up everything on devtool closing

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.