Rename CodeMirrorDemo to SideBySide2
This is no longer a proof of concept. Follow the pattern of ChangeScreen2 and rename to SideBySide2. Rename the ,codemirror view selector to the shorter ,cm string. Change-Id: I5702707b3c329c8771444bb98f148c0b30a73cce
This commit is contained in:
@@ -70,7 +70,7 @@ import com.google.gerrit.client.changes.PublishCommentScreen;
|
||||
import com.google.gerrit.client.changes.QueryScreen;
|
||||
import com.google.gerrit.client.dashboards.DashboardInfo;
|
||||
import com.google.gerrit.client.dashboards.DashboardList;
|
||||
import com.google.gerrit.client.diff.CodeMirrorDemo;
|
||||
import com.google.gerrit.client.diff.SideBySide2;
|
||||
import com.google.gerrit.client.groups.GroupApi;
|
||||
import com.google.gerrit.client.groups.GroupInfo;
|
||||
import com.google.gerrit.client.patches.PatchScreen;
|
||||
@@ -591,8 +591,8 @@ public class Dispatcher {
|
||||
top, //
|
||||
baseId //
|
||||
);
|
||||
} else if ("codemirror".equals(panel)) {
|
||||
return new CodeMirrorDemo(baseId, id.getParentKey(), id.get());
|
||||
} else if ("cm".equals(panel)) {
|
||||
return new SideBySide2(baseId, id.getParentKey(), id.get());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user