Added test for compiling showOn

This commit is contained in:
Matt Gibbs
2015-09-24 10:41:31 -04:00
parent e5122de079
commit 0e38df00b8
+4 -1
View File
@@ -46,6 +46,9 @@ var step2Options: TetherShepherd.IShepherdTourStepOptions = {
destroy: () => {
console.log('Destroyed the Step 2');
}
},
showOn: () => {
return true;
}
};
@@ -55,4 +58,4 @@ var queriedStep = tour.getById('test-step-2');
queriedStep.destroy();
tour.start();
tour.start();