Merge pull request #5987 from mtgibbs/master

Update typings for Tether-Shepherd v1.2.0
This commit is contained in:
Masahiro Wakame
2015-09-27 12:56:39 +09:00
2 changed files with 6 additions and 2 deletions
+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();
+2 -1
View File
@@ -1,4 +1,4 @@
// Type definitions for Tether-Shepherd v1.1.2
// Type definitions for Tether-Shepherd v1.2.0
// Project: http://github.hubspot.com/shepherd/
// Definitions by: Matt Gibbs <https://github.com/mtgibbs>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
@@ -149,6 +149,7 @@ declare module TetherShepherd {
showCancelLink?: boolean;
scrollTo?: boolean;
when?: any;
showOn?: () => boolean;
// TODO: Tie this in with the tether.d.ts
tetherOptions?: any;