Refactored module to be TetherShepherd to avoid collisions

This commit is contained in:
Matt Gibbs
2015-08-13 10:48:52 -04:00
parent bc9b48d674
commit d513d36425
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
///<reference path="shepherd.d.ts" />
///<reference path="tether-shepherd.d.ts" />
var tour = new Shepherd.Tour({
defaults: {
+3 -3
View File
@@ -1,9 +1,9 @@
// Type definitions for Shepherd v1.1.2
// Type definitions for Tether-Shepherd v1.1.2
// Project: http://github.hubspot.com/shepherd/
// Definitions by: Matt Gibbs <https://github.com/mtgibbs>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module shepherd {
declare module TetherShepherd {
interface ShepherdStatic {
on(eventName: string, handler: Function, context?: any): any;
@@ -167,4 +167,4 @@
}
}
declare var Shepherd: shepherd.ShepherdStatic;
declare var Shepherd: TetherShepherd.ShepherdStatic;