Merge pull request #3499 from Akarshit/gsoc-CMup

imports added to mode
This commit is contained in:
Ben Fry
2015-07-27 09:51:24 -05:00
@@ -348,7 +348,7 @@ public class AvailableContribution extends Contribution {
writer.println("lastUpdated=" + lastUpdated);
writer.println("minRevision=" + minRev);
writer.println("maxRevision=" + maxRev);
if (getType() == ContributionType.LIBRARY && importsList != null) {
if ((getType() == ContributionType.LIBRARY || getType() == ContributionType.MODE) && importsList != null) {
writer.println("imports=" + importsList.join(","));
}
if (getType() == ContributionType.EXAMPLES) {