Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

fix(nodeName_): always return lowercase #4932

Closed
wants to merge 1 commit into from
Closed

fix(nodeName_): always return lowercase #4932

wants to merge 1 commit into from

Conversation

ysulyma
Copy link
Contributor

@ysulyma ysulyma commented Nov 13, 2013

Fixes #3987. Change nodeName_ to always return lowercase. Change code
directly using .nodeName to use nodeName() instead.

Fixes #3987. Changed nodeName_ to always return lowercase. Changed code
directly using .nodeName to use nodeName() instead.
@@ -33,7 +33,7 @@
var y = eventData.y;

var inputType = (element.type) ? element.type.toLowerCase() : null,
nodeName = element.nodeName.toLowerCase();
nodeName = nodeName_(element);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the ngScenario module does not have access to private functions in angular.js, they're wrapped in a closure so it can't see them.

@ghost ghost assigned petebacondarwin Nov 25, 2013
@petebacondarwin
Copy link
Contributor

@yuri0 - can you ensure that you have signed the CLA? Thanks

@petebacondarwin
Copy link
Contributor

@caitp - other than the issue with ngScenario, does this PR look good to you?

@petebacondarwin
Copy link
Contributor

Landed as dafb8a3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nodeName_ does not properly canonicalize element names when using XHTML
3 participants