make rmote levels conditional

This commit is contained in:
Peter Cottle 2013-07-25 09:33:40 -07:00
parent c4ae821cef
commit 6804403d66
5 changed files with 32 additions and 25 deletions

View file

@ -13,9 +13,6 @@ exports.levelSequences = {
require('../../levels/rampup/relativeRefs2').level,
require('../../levels/rampup/reversingChanges').level
],
remote: [
require('../../levels/remote/clone').level
],
rebase: [
require('../../levels/rebase/manyRebases').level
],
@ -30,6 +27,12 @@ exports.levelSequences = {
]
};
if (window.location && window.location.href.indexOf('showRemote') !== -1) {
exports.levelSequences.remote = [
require('../../levels/remote/clone').level
];
}
// there are also cute names and such for sequences
exports.sequenceInfo = {
intro: {