Conversation
9b249fb to
dbaf78e
Compare
dbaf78e to
f114e7b
Compare
| * @typedef {{ | ||
| * scope: string, | ||
| * createCookieIfNotPresent: (boolean|undefined), | ||
| * cookieName: (string|undefined), |
There was a problem hiding this comment.
Nice catch. This PR is already showing its worth.
There was a problem hiding this comment.
Thanks :). I only caught this due to the rule against duplicate typedefs, but unfortunately I wasn't able to figure out how to keep it. Because while linting is run against all of the files at the same time, Closure Compiler evaluates many of the externs in isolation.
There was a problem hiding this comment.
I actually don't know why GetCidDef is here
@dvoytenko @erwinmombay do you recall? Is the cid API being called externally?
There was a problem hiding this comment.
@lannka is that a question we can reasonably defer to the future or a separate issue? (It seems unrelated to the purpose of this PR which is to make externs prettier)
|
@samouri The default way to merge to |
|
@rsimha, my apologies! I'm not sure how I did that. It wasn't intentional / I'll double check my settings are correct before merging again |
|
Another problem: Options to fix:
Given that this PR was initially merged as separate commits, I'd lean towards option 1. FYI @rcebulko who is build cop this week. |
No worries. I'll see if there's a way we can prevent this from happening via an admin setting on our repo. |
|
I'm seeing this now, but it all happened so quickly it seems to already be resolved |
Disabled via admin setting. Thanks @samouri for sending out the revert. |
summary
Extern javascript files should ideally be prettified as well. Currently I'm investigating the best way to go about this.
As brought up here: #26202 (comment)
interesting notes:
GetCidDef). I deleted one of them and pointed the locations where it was used to the other definition.