-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A dep no longer needed, causes loading of angular too many times error #1295
A dep no longer needed, causes loading of angular too many times error #1295
Conversation
angular/angular.js#8934 here is where this was closed
Checked commit AllenBW@827e1e8 with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
The angular issue was closed with the caveat that you need to be using Since we do neither, we're still affected by that issue. But.. looking at the original, looks like this only effects svg properties with URLs inside them - both Our SVGs don't seem to be using
But.. the url is a fragment in the same CSS, which probably means we're not affected by the issue after all :). Would love to be sure though, @AllenBW where do I find a place where vendor SVGs are actually used? I see a reference in (All I see is images coming from the API.) |
.. never mind, It's: Services > pick a service with more than 0 vms, of type openstack > click on the detail screen > click on the VM. |
LGTM, merging :) (but if we ever add a svg with a clip-path that's an actual url, this may break) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, we have no affected SVGs
@AllenBW Apparently, you need to add a review for yourself before I can merge :/ - code owner. |
…g-angular-too-many A dep no longer needed, causes loading of angular too many times error (cherry picked from commit 50fd121)
Gaprindashvili backport details:
|
this dep was introduced to resolve this issue, angular/angular.js#8934
It has since been closed, we no longer need this dep, pruning it to remove the following error
Here was the issue, console error "loading angular too many times"
This fix resolves the issue, dep is no longer required, svgs show up just fine in both prod and dev (rh os img is an svg in the screenshots)