Skip to content

Instantly share code, notes, and snippets.

@jcheng5
Created June 20, 2012 18:18
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
if (!sameElements(concat(ts1, ts2), new String[] {"Workspace", "History", "Files", "Plots", "Packages", "Help", "VCS", "PkgBuild"}))
{
if (!sameElements(concat(ts1, ts2), new String[] {"Workspace", "History", "Files", "Plots", "Packages", "Help", "VCS"}))
{
if (!sameElements(concat(ts1, ts2), new String[] {"Workspace", "History", "Files", "Plots", "Packages", "Help"}))
return false;
// It's only that the VCS tab is missing. Add it to tabset 1.
ts1.push("VCS");
}
ts2.push("PkgBuild");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment