Skip to content

Commit

Permalink
fix: remove @internal where it would make tsc fail
Browse files Browse the repository at this point in the history
  • Loading branch information
jelbourn committed May 26, 2016
1 parent 8f9bc77 commit 20194e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
8 changes: 1 addition & 7 deletions src/core/overlay/position/connected-position-strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class ConnectedPositionStrategy implements PositionStrategy {
/**
* Updates the position of the overlay element, using whichever preferred position relative
* to the origin fits on-screen.
* @internal
* TODO: internal
*/
apply(element: HTMLElement): Promise<void> {
// We need the bounding rects for the origin and the overlay to determine how to position
Expand Down Expand Up @@ -78,12 +78,6 @@ export class ConnectedPositionStrategy implements PositionStrategy {
return Promise.resolve();
}


/** Adds a preferred position to the end of the ordered preferred position list. */
addPreferredPosition(pos: ConnectionPositionPair): void {
this._preferredPositions.push(pos);
}

withFallbackPosition(
originPos: OriginConnectionPosition,
overlayPos: OverlayConnectionPosition): this {
Expand Down
2 changes: 1 addition & 1 deletion src/core/overlay/position/global-position-strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class GlobalPositionStrategy implements PositionStrategy {

/**
* Apply the position to the element.
* @internal
* TODO: internal
*/
apply(element: HTMLElement): Promise<void> {
element.style.position = this._cssPosition;
Expand Down
2 changes: 1 addition & 1 deletion src/core/overlay/position/viewport-ruler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {Injectable} from '@angular/core';

/**
* Simple utility for getting the bounds of the browser viewport.
* @internal
* TODO: internal
*/
@Injectable()
export class ViewportRuler {
Expand Down

0 comments on commit 20194e9

Please sign in to comment.