cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Mueller (JIRA)" <>
Subject [jira] [Commented] (CB-6161) [weinre] not working with angular-seed
Date Thu, 06 Mar 2014 12:02:42 GMT


Patrick Mueller commented on CB-6161:

So, not a lot of time to look into this, but found something this morning.

I debugged the angular seed app with Dev Tools while using weinre - turned on "pause on all
exceptions", and shore enough, it was throwing an exception on 

someElement.webkitMatchesSelector("[ng:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak],
.ng-cloak, .x-ng-cloak, .ng-hide")

I don't remember exactly how we walk the CSS rules, but I assume we walk every rule to see
if it's applicable to the existing selected element and ... maybe we're hitting this first.
 I should look at that code to see if we can catch the error more granularly, so that at least
you can see the other rules.

BTW, what platform are you wanting to debug on, there may be options beyond weinre for ya

> [weinre] not working with angular-seed
> --------------------------------------
>                 Key: CB-6161
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: weinre
>            Reporter: Patrick Mueller
>            Assignee: Patrick Mueller
> Run angular-seed demo with these directions:
> {noformat}
> git clone
> cd angular-seed
> npm install
> scripts/web-server.js 
> {noformat}
> If you instrument the {{app/index.html}} file with weinre, and then view with weinre,
you won't see any style information.

This message was sent by Atlassian JIRA

View raw message