-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from microsoft/service_alignment_updates
Update polyfill to align with prototype service updates.
- Loading branch information
Showing
11 changed files
with
401 additions
and
130 deletions.
There are no files selected for viewing
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,5 @@ | ||
.vs/ | ||
Release/ | ||
bin/ | ||
node_modules/ | ||
obj/ |
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
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
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
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
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
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,27 @@ | ||
// Copyright (C) Microsoft Corporation. All rights reserved. | ||
|
||
// Representations of relevant Geo fields. This should reflect the OpenRTB | ||
// schema: https://developers.google.com/authorized-buyers/rtb/openrtb-guide#geo | ||
export class Geo { | ||
/** | ||
* Latitude from -90.0 to +90.0, where negative is south. | ||
*/ | ||
lat?: number; | ||
/** | ||
* Longitude from -180.0 to +180.0, where negative is west. | ||
*/ | ||
lon?: number; | ||
|
||
constructor(other?: Geo) { | ||
if (other) { | ||
this.lat = other.lat; | ||
this.lon = other.lon; | ||
} else { | ||
this.lat = undefined; | ||
this.lon = undefined; | ||
} | ||
} | ||
} | ||
|
||
Geo.prototype.lat = undefined; | ||
Geo.prototype.lon = undefined; |
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
Oops, something went wrong.