Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Various small cleanups - largely docs #7264

Merged
merged 3 commits into from
Mar 25, 2014
Merged

Conversation

peterflynn
Copy link
Member

  • Fix & update documentation in a bunch of places
  • Add a fail-fast warning when missing DOM id will cause bottom panels to not get created correctly (per Resizer module should provide better information for error condition #6252)
  • Add extra FileSystem unit tests around the fs root
  • Fix bits of the ProjectManager exclusion regex that were missing trailing "$" (I verified these are all full names, not just prefixes) -- and add WebStorm project state as an excluded item
  • Slightly better messages when unit tests fail due to a Promise resolution going the wrong way
  • Fix some minor JSLint errors

- Add a fail-fast warning when missing DOM id will cause bottom panels to
not get created correctly (per #6252)
- Add extra FileSystem unit tests around the fs root
- Fix bits of the ProjectManager exclusion regex that were missing trailing
"$" (I verified these are all full names, not just prefixes), and add
WebStorm project state as an excluded item
- Slightly better messages when unit tests fail due to a Promise resolution
going the wrong way
- Fix some minor JSLint errors
@@ -186,7 +186,7 @@ define(function (require, exports, module) {
* Creates a new panel beneath the editor area and above the status bar footer. Panel is initially invisible.
*
* @param {!string} id Unique id for this panel. Use package-style naming, e.g. "myextension.feature.panelname"
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this still required? We don't use it anymore in the function and I guess it's only there to not break anything. Perhaps we should issue a deprecation warning then.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it was actually added as a forward-looking thing (we might have getters keyed on this id in the future, like LanguageManager.getLanguage()) -- it's not something we used to use and then removed at some point.

@ingorichter
Copy link
Contributor

@peterflynn Done with review.

@peterflynn
Copy link
Member Author

@ingorichter I pushed some docs clarifications around PanelManager's & Resizer's use of ids. Lmk if that does the job!

@ingorichter
Copy link
Contributor

@peterflynn That looks better to me. There is one typo and we are ready to merge. Thanks.

@peterflynn
Copy link
Member Author

@ingorichter Oops, good catch. Fixed now.

@ingorichter
Copy link
Contributor

Thanks @peterflynn. Merged!

ingorichter added a commit that referenced this pull request Mar 25, 2014
Various small cleanups - largely docs
@ingorichter ingorichter merged commit 3978d7a into master Mar 25, 2014
@TomMalbran TomMalbran deleted the pflynn/various-cleanups branch March 25, 2014 18:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants