Make tab selection code aware of deprecation tab.
Without this, cajoling/running would jump to the "Cajoled Source" tab
instead of the "Rendered Result" tab.
@@ -249,7 +249,7 @@ public class PlaygroundView {
private void initEditor() {
setupNativeSelectLineBridge();
- selectTab(Tabs.SOURCE);
+ selectTab(Tabs.DEPRECATION);
}
private native void initPlusOne() /*-{
@@ -524,6 +524,7 @@ public class PlaygroundView {
}
public enum Tabs {
+ DEPRECATION,
SOURCE,
POLICY,
RENDER,
