| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
document.__gCrWasEditedByUserMap = new WeakMap();Can we make this a property?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
document.__gCrWasEditedByUserMap = new WeakMap();Can we make this a property?
We could do that, but is there a specific reason to make this a property? I removed it from the gCrWeb object to follow the same logic as other variables and functions. Since we aren't using this property on the native side, I defined it as a global in the document.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
document.__gCrWasEditedByUserMap = new WeakMap();Alexandra PereiraCan we make this a property?
We could do that, but is there a specific reason to make this a property? I removed it from the gCrWeb object to follow the same logic as other variables and functions. Since we aren't using this property on the native side, I defined it as a global in the document.
ah, you mean, since this is "a local" (not shared across JS featureS) global ?
idk what are the best practices regarding that :) , I was just wondering
up to you, we are in the isolated world, so adding internal properties to the document looks fine
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |