diff --git a/pace/pace-tests.ts b/HubSpot-pace/HubSpot-pace-tests.ts similarity index 90% rename from pace/pace-tests.ts rename to HubSpot-pace/HubSpot-pace-tests.ts index cecb55ca2..1c1daa2a6 100644 --- a/pace/pace-tests.ts +++ b/HubSpot-pace/HubSpot-pace-tests.ts @@ -1,4 +1,4 @@ -/// +/// pace.start({ document: false @@ -10,7 +10,7 @@ pace.restart(); pace.stop(); -var paceOptions: PaceInterfaces.PaceOptions; +var paceOptions: HubSpotPaceInterfaces.PaceOptions; paceOptions = { // Disable the 'elements' source diff --git a/pace/pace.d.ts b/HubSpot-pace/HubSpot-pace.d.ts similarity index 97% rename from pace/pace.d.ts rename to HubSpot-pace/HubSpot-pace.d.ts index 3565ed6cd..e10e0316a 100644 --- a/pace/pace.d.ts +++ b/HubSpot-pace/HubSpot-pace.d.ts @@ -3,7 +3,7 @@ // Definitions by: Borislav Zhivkov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module PaceInterfaces { +declare module HubSpotPaceInterfaces { interface PaceOptions { /** * How long should it take for the bar to animate to a new point after receiving it @@ -109,7 +109,7 @@ declare module PaceInterfaces { enum PaceEvent { start, stop, restart, done, hide } } -declare var pace: PaceInterfaces.Pace; -declare module "pace" { +declare var pace: HubSpotPaceInterfaces.Pace; +declare module "HubSpot-pace" { export = pace; }