You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
I'm totally new to AngularJS, however, I believe I found an issue when jQuery is being included along with Angular, I could not reproduce the error when Angular is running without jQuery.
The situation is the following:
jQuery is included.
There's a directive with all the transclude slots marked as optional.
There's a directive occurrence with no child slots defined.
You can check the following Plnkr: http://plnkr.co/edit/f9SN35IMPrmeyuPz0Pih?p=preview
The pane directive has no child nodes, all its transclude slots are optional, and you may notice the following error being raised in the console:
TypeError: Cannot read property 'replace' of undefined
at directiveNormalize (angular.js:9033)
at angular.js:8095
at forEach (angular.js:354)
at applyDirectivesToNode (angular.js:8094)
at compileNodes (angular.js:7620)
at compileNodes (angular.js:7632)
at compileNodes (angular.js:7632)
at compile (angular.js:7527)
at angular.js:1677
at Scope.$eval (angular.js:16127)
If you remove the jQuery inclusion it all goes well.
The text was updated successfully, but these errors were encountered:
@jtrancas commented 6 hours ago:
I'm totally new to AngularJS, however, I believe I found an issue when jQuery is being included along with Angular, I could not reproduce the error when Angular is running without jQuery.
The situation is the following:
You can check the following Plnkr: http://plnkr.co/edit/f9SN35IMPrmeyuPz0Pih?p=preview
The pane directive has no child nodes, all its transclude slots are optional, and you may notice the following error being raised in the console:
If you remove the jQuery inclusion it all goes well.
The text was updated successfully, but these errors were encountered: