This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Lots of menu-related console spam #1292
Labels
Comments
This was introduced just recently, in pull #1247. Every single one of the built-in calls to addMenuItem() (to create the default Brackets menu structure) generates one of these warnigns. It looks pretty ugly, so I think we should fix it before Sprint 11 goes out the door if possible. (It also makes it harder for extension developers to spot when their Menu API calls have done something wrong). |
peterflynn
added a commit
that referenced
this issue
Jul 22, 2012
- Only warn on missing relativeID if 'position' requires a relativeID Other minor cleanups: - Add warning if relativeID is a section marker is but 'position' is not section-relative - Remove unused $sectionItems var - Add TODO about simpifying part of _getRelativeMenuItem()
This was referenced Jul 22, 2012
joelrbrandt
added a commit
that referenced
this issue
Jul 23, 2012
Fix issue #1292 (Lots of menu-related console spam)
merged #1294. Reassigning to @peterflynn for closing |
Reviewed. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Result:
Several dozen copies of this warning message: "Bad Parameter in _getRelativeMenuItem(): relativeID not specified"
The text was updated successfully, but these errors were encountered: