-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f3db335
commit ddcf775
Showing
2 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
rudder-client-javascript/analytics/integrations/HubSpot/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
//import nodeCode from "./node"; | ||
import { HubSpotNode } from "./node"; | ||
import { HubSpot } from "./browser"; | ||
|
||
export default process.browser ? HubSpot : HubSpot; | ||
export default process.browser ? HubSpot : HubSpotNode; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
class HubSpotNode { | ||
constructor() { | ||
console.log("nothing to construct"); | ||
} | ||
|
||
init() { | ||
console.log("node not supported"); | ||
|
||
console.log("===in init==="); | ||
} | ||
|
||
identify(rudderElement) { | ||
console.log("node not supported"); | ||
} | ||
|
||
track(rudderElement) { | ||
console.log("node not supported"); | ||
} | ||
|
||
page(rudderElement) { | ||
console.log("node not supported"); | ||
} | ||
|
||
loaded() { | ||
console.log("in hubspot isLoaded"); | ||
console.log("node not supported"); | ||
} | ||
} | ||
|
||
export { HubSpotNode }; |