Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

fix(patch): fix #618, use zoneSymbol as property name to avoid name conflict #645

Merged
merged 1 commit into from
Mar 7, 2017

Conversation

JiaLiPassion
Copy link
Collaborator

in issue #618, sharepoint's code will create property on HTMLSpanElement like this

                oParent['_onmouseover'] = oParent.onmouseover;

and in zone.js
https://github.com/angular/zone.js/blob/master/lib/common/utils.ts#L77
the inner property name is also startsWith '_'

  const _prop = '_' + prop; 

So this will cause a lot of problems.
So we just use zoneSymbol to wrap the prop name.

@JiaLiPassion JiaLiPassion force-pushed the sharepointnew branch 2 times, most recently from c9a04c2 to faf7cef Compare February 23, 2017 10:38
@mhevery mhevery merged commit fcd8be5 into angular:master Mar 7, 2017
@JiaLiPassion JiaLiPassion deleted the sharepointnew branch March 17, 2017 03:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants