Skip to content

Commit

Permalink
Rename pace to HubSpot-pace
Browse files Browse the repository at this point in the history
  • Loading branch information
borislavjivkov committed Feb 17, 2016
1 parent f387303 commit 182d6f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pace/pace-tests.ts → HubSpot-pace/HubSpot-pace-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="pace.d.ts" />
/// <reference path="HubSpot-pace.d.ts" />

pace.start({
document: false
Expand All @@ -10,7 +10,7 @@ pace.restart();

pace.stop();

var paceOptions: PaceInterfaces.PaceOptions;
var paceOptions: HubSpotPaceInterfaces.PaceOptions;

paceOptions = {
// Disable the 'elements' source
Expand Down
6 changes: 3 additions & 3 deletions pace/pace.d.ts → HubSpot-pace/HubSpot-pace.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Definitions by: Borislav Zhivkov <https://github.com/borislavjivkov>
// 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
Expand Down Expand Up @@ -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;
}

0 comments on commit 182d6f9

Please sign in to comment.