mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Rename pace to HubSpot-pace
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/// <reference path="pace.d.ts" />
|
||||
/// <reference path="HubSpot-pace.d.ts" />
|
||||
|
||||
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
|
||||
+3
-3
@@ -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
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user