| Summary: | All Git commands are missing | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Mark Macdonald <mamacdon> |
| Component: | Git | Assignee: | Mark Macdonald <mamacdon> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | ||
| Version: | 3.0 | ||
| Target Milestone: | 5.0 M1 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Mark Macdonald
Here's the dependency chain that causes the problem git/plugins/gitPlugin.js -> orion/git/util.js -> 'i18n!git/nls/gitmessages' The message bundle is never even used inside util.js so it should be fine to remove the dependency. (In reply to Mark Macdonald from comment #1) > The message bundle is never even used inside util.js so it should be fine to > remove the dependency. This was not enough to fix the problem, so I moved the UI-dependent code -- which was only 1 method, createCompareWidget() -- into a separate class 'uiUtil.js' which inherits from util.js. http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=4e71a28 util.js is now safe for non-UI code (like plugins) to depend on. |